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.0008987/0.0008985, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001094/0.001094, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9439/0.9439, allocations: 135.3 MB / 426.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 8 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1477, allocations: 82.31 MB / 0.5875 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002728/0.1504, allocations: 2.18 MB / 0.5896 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1518, allocations: 0.8459 MB / 0.5904 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.1519, allocations: 11.94 kB / 0.5904 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.1521, allocations: 39.64 kB / 0.5905 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.1522, allocations: 35.61 kB / 0.5905 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.1526, allocations: 135.7 kB / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.153, allocations: 387.8 kB / 0.591 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.1532, allocations: 148.4 kB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-05/0.1533, allocations: 79.47 kB / 0.5912 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1535, allocations: 99.3 kB / 0.5913 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.1535, allocations: 8 kB / 0.5913 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.439e-05/0.1535, allocations: 8 kB / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.831e-05/0.1536, allocations: 39.72 kB / 0.5914 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.1536, allocations: 93.52 kB / 0.5915 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.154, allocations: 487 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1541, allocations: 11.98 kB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1541, allocations: 0 / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.1541, allocations: 0 / 0.5919 GB, free: 14.29 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.0007505/0.1548, allocations: 0.5804 MB / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1549, allocations: 12.03 kB / 0.5925 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.258e-05/0.155, allocations: 62.53 kB / 0.5926 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.155, allocations: 43.48 kB / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.1554, allocations: 362.2 kB / 0.593 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.1555, allocations: 24.56 kB / 0.593 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.1555, allocations: 28 kB / 0.593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.1561, allocations: 325.4 kB / 0.5933 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1561, allocations: 3.938 kB / 0.5933 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.1561, allocations: 12 kB / 0.5933 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.1562, allocations: 11.98 kB / 0.5933 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.1566, allocations: 246.1 kB / 0.5936 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.1581, allocations: 1.174 MB / 0.5947 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.1585, allocations: 246.8 kB / 0.595 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.1587, allocations: 100.8 kB / 0.5951 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1588, allocations: 4 kB / 0.5951 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1588, allocations: 34.56 kB / 0.5951 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.1588, allocations: 0 / 0.5951 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006522/0.1595, allocations: 319.7 kB / 0.5954 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.1595, allocations: 85.05 kB / 0.5955 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.1598, allocations: 328.5 kB / 0.5958 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1599, allocations: 33.7 kB / 0.5958 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.16, allocations: 192.2 kB / 0.596 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.1601, allocations: 55.19 kB / 0.5961 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.1601, allocations: 7.938 kB / 0.5961 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1602, allocations: 342.8 kB / 0.5964 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.1604, allocations: 83.97 kB / 0.5965 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.1606, allocations: 125.5 kB / 0.5966 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.1608, allocations: 87.98 kB / 0.5967 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1608, allocations: 0 / 0.5967 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004472/0.1612, allocations: 273.1 kB / 0.5969 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.1613, allocations: 108.8 kB / 0.597 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1613, allocations: 4 kB / 0.597 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1613, allocations: 3.984 kB / 0.597 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.1615, allocations: 39.92 kB / 0.5971 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1615, allocations: 0 / 0.5971 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1617, allocations: 27.73 kB / 0.5971 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.1617, allocations: 12 kB / 0.5971 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.952e-06/0.1617, allocations: 4 kB / 0.5971 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003061/0.162, allocations: 167.9 kB / 0.5973 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-06/0.162, allocations: 0 / 0.5973 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/0.162, allocations: 4 kB / 0.5973 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1622, allocations: 31.88 kB / 0.5973 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1622, allocations: 4 kB / 0.5973 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1623, allocations: 35.69 kB / 0.5974 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1623, allocations: 4 kB / 0.5974 GB, free: 8.457 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.oveWriSet_activate,expMod.oveWriAct_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.1625, allocations: 248.8 kB / 0.5976 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.1626, allocations: 31.62 kB / 0.5976 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.484e-05/0.1626, allocations: 31.28 kB / 0.5977 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1627, allocations: 3.953 kB / 0.5977 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1627, allocations: 4 kB / 0.5977 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1627, allocations: 0 / 0.5977 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.1631, allocations: 405.4 kB / 0.5981 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1631, allocations: 4 kB / 0.5981 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.1633, allocations: 27.98 kB / 0.5981 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1633, allocations: 0 / 0.5981 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.1633, allocations: 8 kB / 0.5981 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1633, allocations: 0 / 0.5981 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.1633, allocations: 3.953 kB / 0.5981 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.164, allocations: 458.9 kB / 0.5985 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1641, allocations: 128.8 kB / 0.5987 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.1641, allocations: 4.062 kB / 0.5987 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1643, allocations: 16 kB / 0.5987 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.1643, allocations: 7.984 kB / 0.5987 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1644, allocations: 7.953 kB / 0.5987 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002248/0.1646, allocations: 235 kB / 0.5989 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1646, allocations: 7.938 kB / 0.5989 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003904/0.165, allocations: 91.59 kB / 0.599 GB, free: 6.668 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009334/0.1659, allocations: 0.9791 MB / 0.6 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005657/0.1665, allocations: 311.8 kB / 0.6003 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1665, allocations: 0 / 0.6003 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.1667, allocations: 99.91 kB / 0.6004 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.1673, allocations: 73.5 kB / 0.6004 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.1703, allocations: 1.792 MB / 0.6022 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1706, allocations: 0.7716 MB / 0.6029 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.1708, allocations: 34.27 kB / 0.603 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.1709, allocations: 103.4 kB / 0.6031 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1709, allocations: 0 / 0.6031 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2604/0.4314, allocations: 6.035 MB / 0.609 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001256/0.4315, allocations: 190.7 kB / 0.6091 GB, free: 48.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.261, allocations: 0 / 0.6091 GB, free: 48.11 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/linux/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) Environment - environmentSimulation: