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.001026/0.001026, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008435/0.008435, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9067/0.9067, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 9.344 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 82.31 MB / 0.5881 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003101/0.162, allocations: 2.257 MB / 0.5903 GB, free: 256 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1637, allocations: 0.8613 MB / 0.5911 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.164, allocations: 11.94 kB / 0.5911 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.1642, allocations: 47.64 kB / 0.5912 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.1644, allocations: 51.58 kB / 0.5912 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.1649, allocations: 218.8 kB / 0.5914 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.1653, allocations: 403.7 kB / 0.5918 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.1657, allocations: 221.1 kB / 0.592 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1658, allocations: 87.34 kB / 0.5921 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1659, allocations: 107.2 kB / 0.5922 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.166, allocations: 8 kB / 0.5922 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.46e-05/0.166, allocations: 8 kB / 0.5922 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.1661, allocations: 47.66 kB / 0.5923 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1662, allocations: 156.8 kB / 0.5924 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.1667, allocations: 0.5452 MB / 0.593 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1667, allocations: 3.984 kB / 0.593 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1667, allocations: 0 / 0.593 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.1667, allocations: 0 / 0.593 GB, free: 13.48 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.0008148/0.1675, allocations: 0.5845 MB / 0.5935 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1676, allocations: 8.031 kB / 0.5935 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.115e-05/0.1676, allocations: 66.72 kB / 0.5936 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.624e-05/0.1677, allocations: 40.47 kB / 0.5936 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.1681, allocations: 379.2 kB / 0.594 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.1682, allocations: 20.94 kB / 0.594 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.1682, allocations: 32.38 kB / 0.5941 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.1688, allocations: 333.5 kB / 0.5944 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1688, allocations: 0 / 0.5944 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.1689, allocations: 8 kB / 0.5944 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1689, allocations: 15.98 kB / 0.5944 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.1694, allocations: 242.2 kB / 0.5946 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.1709, allocations: 1.182 MB / 0.5958 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.1714, allocations: 250.5 kB / 0.596 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.1716, allocations: 108.8 kB / 0.5961 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1717, allocations: 3.938 kB / 0.5961 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1717, allocations: 34.56 kB / 0.5962 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.1717, allocations: 3.938 kB / 0.5962 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006853/0.1724, allocations: 317.2 kB / 0.5965 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.1725, allocations: 81.11 kB / 0.5965 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.1728, allocations: 332.5 kB / 0.5969 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1729, allocations: 29.7 kB / 0.5969 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.173, allocations: 196 kB / 0.5971 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.1731, allocations: 55.25 kB / 0.5971 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.1732, allocations: 29.7 kB / 0.5972 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1733, allocations: 338.8 kB / 0.5975 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1735, allocations: 91.97 kB / 0.5976 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.1737, allocations: 119.4 kB / 0.5977 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.1741, allocations: 205.3 kB / 0.5979 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1741, allocations: 0 / 0.5979 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004934/0.1746, allocations: 265.1 kB / 0.5981 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/0.1747, allocations: 106.7 kB / 0.5982 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1747, allocations: 3.938 kB / 0.5982 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1747, allocations: 8.062 kB / 0.5982 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1749, allocations: 31.92 kB / 0.5983 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1749, allocations: 4 kB / 0.5983 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.1751, allocations: 31.77 kB / 0.5983 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1751, allocations: 4 kB / 0.5983 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-06/0.1751, allocations: 4 kB / 0.5983 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003253/0.1755, allocations: 186.3 kB / 0.5985 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-06/0.1755, allocations: 0 / 0.5985 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-06/0.1755, allocations: 0 / 0.5985 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1756, allocations: 24 kB / 0.5985 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1756, allocations: 7.922 kB / 0.5985 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.1757, allocations: 23.83 kB / 0.5985 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1758, allocations: 7.938 kB / 0.5986 GB, free: 7.473 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.0002309/0.176, allocations: 247.4 kB / 0.5988 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.1761, allocations: 27.62 kB / 0.5988 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.292e-05/0.1761, allocations: 35.28 kB / 0.5989 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1762, allocations: 4 kB / 0.5989 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1762, allocations: 0 / 0.5989 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.1762, allocations: 3.984 kB / 0.5989 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.1766, allocations: 417.2 kB / 0.5993 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1766, allocations: 0 / 0.5993 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.1768, allocations: 31.92 kB / 0.5993 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1768, allocations: 4 kB / 0.5993 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.1768, allocations: 4 kB / 0.5993 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1769, allocations: 4 kB / 0.5993 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1769, allocations: 0 / 0.5993 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/0.1776, allocations: 454.9 kB / 0.5997 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1777, allocations: 128.7 kB / 0.5999 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.1778, allocations: 8 kB / 0.5999 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.1779, allocations: 11.98 kB / 0.5999 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.178, allocations: 19.98 kB / 0.5999 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.178, allocations: 4 kB / 0.5999 GB, free: 6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000232/0.1782, allocations: 235 kB / 0.6001 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1782, allocations: 0 / 0.6001 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003904/0.1786, allocations: 91.59 kB / 0.6002 GB, free: 5.688 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.0009408/0.1796, allocations: 0.9845 MB / 0.6012 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005826/0.1802, allocations: 295.8 kB / 0.6015 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1802, allocations: 0 / 0.6015 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.1804, allocations: 104.2 kB / 0.6016 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.181, allocations: 85.3 kB / 0.6016 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.1852, allocations: 3.095 MB / 0.6047 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1856, allocations: 0.7755 MB / 0.6054 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.1857, allocations: 30.28 kB / 0.6054 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.1859, allocations: 99.39 kB / 0.6055 GB, free: 104 kB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1859, allocations: 0 / 0.6055 GB, free: 104 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9921/1.178, allocations: 6.151 MB / 0.6115 GB, free: 48.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/1.178, allocations: 195.1 kB / 0.6117 GB, free: 48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/3.193, allocations: 8 kB / 0.6117 GB, free: 47.99 MB / 0.4981 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)