Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007674/0.007674, allocations: 100.8 kB / 15.87 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 195.8 kB / 16.79 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9331/0.9331, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 65.44 kB / 0.5053 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1464, allocations: 80.92 MB / 0.5843 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003757/0.1502, allocations: 2.631 MB / 0.5869 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1517, allocations: 0.8846 MB / 0.5878 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.1518, allocations: 11.94 kB / 0.5878 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.1521, allocations: 51.58 kB / 0.5878 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.1522, allocations: 39.66 kB / 0.5879 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.1527, allocations: 226.9 kB / 0.5881 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.1531, allocations: 411.7 kB / 0.5885 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.1534, allocations: 217.1 kB / 0.5887 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1535, allocations: 107.4 kB / 0.5888 GB, free: 404 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.1536, allocations: 127.2 kB / 0.5889 GB, free: 276 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.1537, allocations: 16 kB / 0.5889 GB, free: 260 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.113e-05/0.1537, allocations: 19.94 kB / 0.5889 GB, free: 240 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.1538, allocations: 51.7 kB / 0.589 GB, free: 188 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.1539, allocations: 159 kB / 0.5891 GB, free: 28 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.1543, allocations: 0.5031 MB / 0.5896 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1543, allocations: 0 / 0.5896 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.01e-07/0.1543, allocations: 0 / 0.5896 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.1543, allocations: 0 / 0.5896 GB, free: 15.52 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008759/0.1552, allocations: 0.6468 MB / 0.5903 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1553, allocations: 12.03 kB / 0.5903 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.1554, allocations: 44.38 kB / 0.5903 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.1557, allocations: 379.3 kB / 0.5907 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.1558, allocations: 24.94 kB / 0.5907 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.1558, allocations: 28.36 kB / 0.5907 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.1564, allocations: 329.7 kB / 0.5911 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1564, allocations: 4 kB / 0.5911 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.1564, allocations: 16 kB / 0.5911 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.1565, allocations: 4 kB / 0.5911 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004661/0.1569, allocations: 230.2 kB / 0.5913 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.1583, allocations: 1.166 MB / 0.5924 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.1588, allocations: 241.6 kB / 0.5927 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.159, allocations: 96.83 kB / 0.5928 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.159, allocations: 0 / 0.5928 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.1591, allocations: 30.56 kB / 0.5928 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.1591, allocations: 0 / 0.5928 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006378/0.1597, allocations: 309.1 kB / 0.5931 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1598, allocations: 77.11 kB / 0.5932 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.1601, allocations: 332.4 kB / 0.5935 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1601, allocations: 29.7 kB / 0.5935 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1603, allocations: 192.1 kB / 0.5937 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.1603, allocations: 55.2 kB / 0.5937 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.1604, allocations: 37.7 kB / 0.5938 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.1605, allocations: 346.8 kB / 0.5941 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.1607, allocations: 88.81 kB / 0.5942 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.1609, allocations: 115.4 kB / 0.5943 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.1613, allocations: 196.8 kB / 0.5945 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1613, allocations: 3.938 kB / 0.5945 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004457/0.1618, allocations: 257.2 kB / 0.5947 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1618, allocations: 6.031 kB / 0.5947 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1618, allocations: 0 / 0.5947 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1618, allocations: 4.062 kB / 0.5947 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.162, allocations: 39.92 kB / 0.5948 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.162, allocations: 0 / 0.5948 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.1621, allocations: 31.61 kB / 0.5948 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.1622, allocations: 8 kB / 0.5948 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000231/0.1624, allocations: 196.1 kB / 0.595 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001472/0.1626, allocations: 105.3 kB / 0.5951 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000258/0.1628, allocations: 166.5 kB / 0.5953 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.1628, allocations: 0 / 0.5953 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003569/0.1632, allocations: 227.5 kB / 0.5955 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/0.1632, allocations: 4 kB / 0.5955 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.1632, allocations: 0 / 0.5955 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.1632, allocations: 8.062 kB / 0.5955 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1634, allocations: 23.98 kB / 0.5955 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1634, allocations: 4 kB / 0.5955 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1635, allocations: 19.83 kB / 0.5955 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.1635, allocations: 7.938 kB / 0.5955 GB, free: 9.18 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.1636, allocations: 192.2 kB / 0.5957 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.1637, allocations: 31.62 kB / 0.5958 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.971e-05/0.1638, allocations: 31.28 kB / 0.5958 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1638, allocations: 4 kB / 0.5958 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1638, allocations: 0 / 0.5958 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1638, allocations: 7.938 kB / 0.5958 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.1642, allocations: 405.4 kB / 0.5962 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1642, allocations: 3.984 kB / 0.5962 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.1644, allocations: 27.92 kB / 0.5962 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1644, allocations: 0 / 0.5962 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1644, allocations: 4 kB / 0.5962 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1644, allocations: 7.984 kB / 0.5962 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1644, allocations: 0 / 0.5962 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.1651, allocations: 435 kB / 0.5966 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1652, allocations: 132.7 kB / 0.5968 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.1653, allocations: 7.938 kB / 0.5968 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1654, allocations: 11.98 kB / 0.5968 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.1655, allocations: 11.92 kB / 0.5968 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1655, allocations: 12.06 kB / 0.5968 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002287/0.1657, allocations: 235.1 kB / 0.597 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.482e-06/0.1657, allocations: 0 / 0.597 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003952/0.1661, allocations: 95.53 kB / 0.5971 GB, free: 7.469 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.536e-05/0.1662, allocations: 95.25 kB / 0.5972 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005584/0.1668, allocations: 290.6 kB / 0.5975 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1668, allocations: 0 / 0.5975 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.167, allocations: 99.84 kB / 0.5976 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.1676, allocations: 78.86 kB / 0.5977 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1687, allocations: 0.6952 MB / 0.5983 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.169, allocations: 0.7755 MB / 0.5991 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.1691, allocations: 19.44 kB / 0.5991 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.1691, allocations: 0 / 0.5991 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of Templates: time 0.005477/0.1746, allocations: 3.956 MB / 0.603 GB, free: 1.434 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)