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: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008945/0.008945, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.002014/0.002014, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8593/0.8593, allocations: 135.6 MB / 426.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.48 kB / 0.5857 GB, free: 21.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1636, allocations: 81.02 MB / 0.6648 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004032/0.1677, allocations: 2.596 MB / 0.6674 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1693, allocations: 0.9038 MB / 0.6683 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.1695, allocations: 11.94 kB / 0.6683 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.1697, allocations: 67.38 kB / 0.6683 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1699, allocations: 71.34 kB / 0.6684 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.1704, allocations: 238.4 kB / 0.6686 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.1708, allocations: 451.7 kB / 0.6691 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.1712, allocations: 229.4 kB / 0.6693 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.1713, allocations: 143.3 kB / 0.6694 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.1715, allocations: 147.2 kB / 0.6695 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/0.1716, allocations: 56 kB / 0.6696 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.575e-05/0.1716, allocations: 48 kB / 0.6696 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.782e-05/0.1717, allocations: 99.69 kB / 0.6697 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.1719, allocations: 183 kB / 0.6699 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.1726, allocations: 0.615 MB / 0.6705 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.138e-06/0.1726, allocations: 7.984 kB / 0.6705 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.338e-06/0.1726, allocations: 0 / 0.6705 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.1726, allocations: 3.938 kB / 0.6705 GB, free: 15.8 MB / 0.5137 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.0009309/0.1736, allocations: 0.6542 MB / 0.6712 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1736, allocations: 13.11 kB / 0.6712 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.731e-05/0.1737, allocations: 70.72 kB / 0.6712 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.317e-05/0.1738, allocations: 44.66 kB / 0.6713 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.1743, allocations: 391.5 kB / 0.6717 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.1744, allocations: 20.94 kB / 0.6717 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.1744, allocations: 24.38 kB / 0.6717 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005804/0.175, allocations: 333.5 kB / 0.672 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.175, allocations: 0 / 0.672 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.1751, allocations: 8 kB / 0.672 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1751, allocations: 12 kB / 0.672 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.1756, allocations: 234.1 kB / 0.6723 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.1771, allocations: 1.159 MB / 0.6734 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.1776, allocations: 226.8 kB / 0.6736 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.1778, allocations: 104.8 kB / 0.6737 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1778, allocations: 4 kB / 0.6737 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1779, allocations: 30.56 kB / 0.6737 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.1779, allocations: 0 / 0.6737 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.00069/0.1786, allocations: 311.4 kB / 0.674 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.1786, allocations: 77.11 kB / 0.6741 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.179, allocations: 328.5 kB / 0.6744 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.179, allocations: 25.7 kB / 0.6745 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1792, allocations: 204.2 kB / 0.6747 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.1793, allocations: 59.52 kB / 0.6747 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.1794, allocations: 37.7 kB / 0.6747 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1795, allocations: 350.8 kB / 0.6751 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.1797, allocations: 84.83 kB / 0.6752 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.18, allocations: 117.8 kB / 0.6753 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.1803, allocations: 200.2 kB / 0.6755 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1804, allocations: 0 / 0.6755 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004911/0.1808, allocations: 249.3 kB / 0.6757 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1809, allocations: 8 kB / 0.6757 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1809, allocations: 0 / 0.6757 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1809, allocations: 11.98 kB / 0.6757 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.1811, allocations: 35.92 kB / 0.6758 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.1811, allocations: 3.938 kB / 0.6758 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1812, allocations: 23.84 kB / 0.6758 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.1813, allocations: 7.984 kB / 0.6758 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002521/0.1815, allocations: 196.1 kB / 0.676 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000161/0.1817, allocations: 103.4 kB / 0.6761 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002777/0.182, allocations: 168.2 kB / 0.6762 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.182, allocations: 0 / 0.6762 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003801/0.1824, allocations: 231.2 kB / 0.6765 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.1824, allocations: 4 kB / 0.6765 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-06/0.1824, allocations: 0 / 0.6765 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.7e-06/0.1824, allocations: 8.062 kB / 0.6765 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1825, allocations: 27.92 kB / 0.6765 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1826, allocations: 4 kB / 0.6765 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1827, allocations: 15.89 kB / 0.6765 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1827, allocations: 4 kB / 0.6765 GB, free: 9.367 MB / 0.5137 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.0001434/0.1828, allocations: 188.2 kB / 0.6767 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.1829, allocations: 35.81 kB / 0.6767 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.976e-05/0.183, allocations: 31.28 kB / 0.6768 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.183, allocations: 0 / 0.6768 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.183, allocations: 11.94 kB / 0.6768 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.183, allocations: 4 kB / 0.6768 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005045/0.1835, allocations: 409.3 kB / 0.6772 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1836, allocations: 0 / 0.6772 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.1837, allocations: 31.92 kB / 0.6772 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1837, allocations: 0 / 0.6772 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1838, allocations: 0 / 0.6772 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1838, allocations: 4 kB / 0.6772 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1838, allocations: 3.938 kB / 0.6772 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007538/0.1845, allocations: 435.2 kB / 0.6776 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1847, allocations: 132.9 kB / 0.6777 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.1847, allocations: 8 kB / 0.6778 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.1849, allocations: 8 kB / 0.6778 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.1849, allocations: 15.86 kB / 0.6778 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.1849, allocations: 8.062 kB / 0.6778 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003229/0.1853, allocations: 239 kB / 0.678 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1853, allocations: 3.938 kB / 0.678 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004/0.1857, allocations: 91.72 kB / 0.6781 GB, free: 7.656 MB / 0.5137 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 0.001025/0.1867, allocations: 0.9685 MB / 0.679 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006256/0.1874, allocations: 285.9 kB / 0.6793 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1874, allocations: 0 / 0.6793 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.1876, allocations: 96.22 kB / 0.6794 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.1882, allocations: 87.72 kB / 0.6795 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/0.1928, allocations: 2.945 MB / 0.6824 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.1932, allocations: 0.7753 MB / 0.6831 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.1934, allocations: 22.3 kB / 0.6832 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.1937, allocations: 107.3 kB / 0.6833 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of SimCode: time 1.272e-06/0.1937, allocations: 0 / 0.6833 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/0.2262, allocations: 6.682 MB / 0.6898 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.348, allocations: 4.062 kB / 0.6898 GB, free: 11.67 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)