Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_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.001676/0.001675, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001932/0.001932, allocations: 198 kB / 16.25 MB, free: 6.621 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.396/1.396, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7493/0.7493, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.94 kB / 0.5014 GB, free: 8.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1549, allocations: 80.2 MB / 0.5797 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004767/0.1597, allocations: 2.64 MB / 0.5823 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1613, allocations: 0.8767 MB / 0.5831 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.1615, allocations: 8 kB / 0.5831 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.1618, allocations: 51.58 kB / 0.5832 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.1619, allocations: 51.59 kB / 0.5832 GB, free: 5.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.1625, allocations: 218.6 kB / 0.5834 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.163, allocations: 455.6 kB / 0.5839 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.1633, allocations: 225.1 kB / 0.5841 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.1635, allocations: 139.4 kB / 0.5842 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.1636, allocations: 159.1 kB / 0.5844 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-05/0.1637, allocations: 48 kB / 0.5844 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.332e-05/0.1638, allocations: 56 kB / 0.5845 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.1638, allocations: 91.7 kB / 0.5845 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.164, allocations: 183 kB / 0.5847 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.1645, allocations: 0.6001 MB / 0.5853 GB, free: 3.215 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1645, allocations: 0 / 0.5853 GB, free: 3.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1645, allocations: 0 / 0.5853 GB, free: 3.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1645, allocations: 0 / 0.5853 GB, free: 3.215 MB / 494.1 MB 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.0008941/0.1654, allocations: 0.6584 MB / 0.5859 GB, free: 2.508 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1654, allocations: 8.031 kB / 0.586 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.176e-05/0.1655, allocations: 66.72 kB / 0.586 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.1656, allocations: 40.47 kB / 0.5861 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.166, allocations: 375.3 kB / 0.5864 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.166, allocations: 24.88 kB / 0.5864 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.1661, allocations: 28.28 kB / 0.5865 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.1666, allocations: 337.5 kB / 0.5868 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1666, allocations: 0 / 0.5868 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.1667, allocations: 12 kB / 0.5868 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1667, allocations: 4 kB / 0.5868 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.1671, allocations: 234.1 kB / 0.587 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.1685, allocations: 1.17 MB / 0.5882 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.1689, allocations: 226.8 kB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.1691, allocations: 108.8 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1691, allocations: 3.938 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.1692, allocations: 30.56 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1692, allocations: 4 kB / 0.5885 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0005837/0.1698, allocations: 301.2 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.1698, allocations: 77.11 kB / 0.5889 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.1701, allocations: 332.4 kB / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1701, allocations: 25.7 kB / 0.5892 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1703, allocations: 200.1 kB / 0.5894 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.1703, allocations: 59.25 kB / 0.5895 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.1704, allocations: 41.61 kB / 0.5895 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1705, allocations: 342.8 kB / 0.5898 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.1707, allocations: 92.72 kB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.1709, allocations: 115.4 kB / 0.59 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.1712, allocations: 186.5 kB / 0.5902 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1712, allocations: 0 / 0.5902 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004097/0.1716, allocations: 259.6 kB / 0.5905 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1716, allocations: 4 kB / 0.5905 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1716, allocations: 0 / 0.5905 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1717, allocations: 7.922 kB / 0.5905 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1718, allocations: 31.98 kB / 0.5905 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1719, allocations: 3.938 kB / 0.5905 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.172, allocations: 23.78 kB / 0.5905 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.172, allocations: 7.938 kB / 0.5905 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002074/0.1722, allocations: 200.1 kB / 0.5907 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001369/0.1724, allocations: 105.7 kB / 0.5908 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002335/0.1726, allocations: 162.5 kB / 0.591 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.41e-07/0.1726, allocations: 0 / 0.591 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003259/0.1729, allocations: 235 kB / 0.5912 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/0.173, allocations: 4 kB / 0.5912 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/0.173, allocations: 0 / 0.5912 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-06/0.173, allocations: 4 kB / 0.5912 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1731, allocations: 27.92 kB / 0.5912 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.1731, allocations: 4 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.1732, allocations: 19.78 kB / 0.5913 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1732, allocations: 8 kB / 0.5913 GB, free: 12.8 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 9.457e-05/0.1733, allocations: 192.3 kB / 0.5915 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.1734, allocations: 39.61 kB / 0.5915 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.1735, allocations: 31.28 kB / 0.5915 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1735, allocations: 0 / 0.5915 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1735, allocations: 3.938 kB / 0.5915 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1735, allocations: 0 / 0.5915 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.1739, allocations: 405.4 kB / 0.5919 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1739, allocations: 0 / 0.5919 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.174, allocations: 27.98 kB / 0.5919 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.174, allocations: 3.984 kB / 0.592 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1741, allocations: 3.938 kB / 0.592 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1741, allocations: 8 kB / 0.592 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1741, allocations: 3.938 kB / 0.592 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006017/0.1747, allocations: 437.3 kB / 0.5924 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.904e-05/0.1748, allocations: 128.7 kB / 0.5925 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.1748, allocations: 11.98 kB / 0.5925 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.175, allocations: 12.06 kB / 0.5925 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.175, allocations: 11.92 kB / 0.5925 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1751, allocations: 4 kB / 0.5925 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001983/0.1753, allocations: 235.1 kB / 0.5928 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1753, allocations: 0 / 0.5928 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003615/0.1756, allocations: 91.59 kB / 0.5929 GB, free: 11.09 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 0.0007999/0.1764, allocations: 0.962 MB / 0.5938 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005413/0.177, allocations: 294.2 kB / 0.5941 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.177, allocations: 4 kB / 0.5941 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.1772, allocations: 97.88 kB / 0.5942 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.1778, allocations: 91.06 kB / 0.5943 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.1814, allocations: 3.049 MB / 0.5972 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1817, allocations: 0.7753 MB / 0.598 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.1819, allocations: 26.28 kB / 0.598 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.182, allocations: 95.41 kB / 0.5981 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.182, allocations: 0 / 0.5981 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5011/0.6831, allocations: 6.423 MB / 0.6044 GB, free: 55.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000123/0.6833, allocations: 190.8 kB / 0.6046 GB, free: 54.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.562, allocations: 0.625 kB / 0.6046 GB, free: 54.88 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)