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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7614/0.7614, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009174/0.0009172, allocations: 113.3 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.479e-05/4.524e-05, allocations: 2.469 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 82.31 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6171/0.7659, allocations: 117.1 MB / 0.7549 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.7661, allocations: 78.58 kB / 0.7549 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01453/0.7807, allocations: 6.929 MB / 0.7617 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7807, allocations: 0 / 0.7617 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.219e-05/0.7808, allocations: 7.688 kB / 0.7617 GB, free: 25.44 MB / 0.5105 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.0007876/0.7816, allocations: 0.5487 MB / 0.7622 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.7816, allocations: 15.61 kB / 0.7623 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.065e-05/0.7817, allocations: 59.73 kB / 0.7623 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.85e-05/0.7818, allocations: 46.61 kB / 0.7624 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005324/0.7824, allocations: 381.3 kB / 0.7627 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.7824, allocations: 23.72 kB / 0.7627 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/0.7825, allocations: 26.56 kB / 0.7628 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.7829, allocations: 312.1 kB / 0.7631 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.783, allocations: 0 / 0.7631 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.783, allocations: 12.03 kB / 0.7631 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.783, allocations: 3.875 kB / 0.7631 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.7833, allocations: 200.1 kB / 0.7633 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.7848, allocations: 1.167 MB / 0.7644 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.7852, allocations: 210 kB / 0.7646 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.7853, allocations: 79.45 kB / 0.7647 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.7853, allocations: 0 / 0.7647 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.7854, allocations: 41.91 kB / 0.7647 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.7854, allocations: 0 / 0.7647 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0003614/0.7857, allocations: 203.2 kB / 0.7649 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.7858, allocations: 81.11 kB / 0.765 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.7861, allocations: 286.2 kB / 0.7653 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.7861, allocations: 32.64 kB / 0.7653 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.7863, allocations: 192.2 kB / 0.7655 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.7863, allocations: 56.83 kB / 0.7655 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.7863, allocations: 2.938 kB / 0.7655 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.7865, allocations: 343.6 kB / 0.7659 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.7866, allocations: 65.56 kB / 0.7659 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.7867, allocations: 107.4 kB / 0.766 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.7868, allocations: 65.89 kB / 0.7661 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.7868, allocations: 0 / 0.7661 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000294/0.7871, allocations: 229.9 kB / 0.7663 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.7873, allocations: 274.7 kB / 0.7666 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7873, allocations: 0 / 0.7666 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.7873, allocations: 0 / 0.7666 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.7875, allocations: 37.73 kB / 0.7666 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.7875, allocations: 3.875 kB / 0.7666 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.7876, allocations: 31.28 kB / 0.7667 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.7877, allocations: 6.719 kB / 0.7667 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.7877, allocations: 3.844 kB / 0.7667 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002566/0.7879, allocations: 161.5 kB / 0.7668 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.788, allocations: 0 / 0.7668 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-06/0.788, allocations: 3.812 kB / 0.7668 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.7881, allocations: 22.53 kB / 0.7668 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.7881, allocations: 7.672 kB / 0.7668 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.7882, allocations: 22.66 kB / 0.7669 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.7882, allocations: 7.062 kB / 0.7669 GB, free: 22.47 MB / 0.5105 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 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete 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 9.125e-05/0.7883, allocations: 111.9 kB / 0.767 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.7884, allocations: 34.92 kB / 0.767 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.915e-05/0.7885, allocations: 35.69 kB / 0.7671 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7885, allocations: 0 / 0.7671 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.7885, allocations: 0 / 0.7671 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7885, allocations: 3.984 kB / 0.7671 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.7889, allocations: 422.8 kB / 0.7675 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7889, allocations: 0 / 0.7675 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.7891, allocations: 26.95 kB / 0.7675 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.7891, allocations: 7.797 kB / 0.7675 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.7891, allocations: 3.188 kB / 0.7675 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7891, allocations: 0 / 0.7675 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7891, allocations: 0 / 0.7675 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.7896, allocations: 392.4 kB / 0.7679 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.7897, allocations: 135 kB / 0.768 GB, free: 21.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.7897, allocations: 6.766 kB / 0.768 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.7899, allocations: 15.17 kB / 0.768 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.79, allocations: 11.67 kB / 0.768 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.79, allocations: 7.094 kB / 0.768 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00023/0.7902, allocations: 230.1 kB / 0.7683 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7902, allocations: 0 / 0.7683 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003581/0.7906, allocations: 94.41 kB / 0.7683 GB, free: 21.62 MB / 0.5105 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 (actSet.y,actAct.y) * Number of discrete 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.0007106/0.7913, allocations: 0.9301 MB / 0.7693 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.7917, allocations: 261.4 kB / 0.7695 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7917, allocations: 320 / 0.7695 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.7918, allocations: 89.7 kB / 0.7696 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.7923, allocations: 65.19 kB / 0.7697 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009575/0.7933, allocations: 478.2 kB / 0.7701 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.7936, allocations: 0.7889 MB / 0.7709 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.7938, allocations: 37.42 kB / 0.7709 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.794, allocations: 102.4 kB / 0.771 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.794, allocations: 4 kB / 0.771 GB, free: 19.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.8116, allocations: 6.585 MB / 0.7774 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.8118, allocations: 155.6 kB / 0.7776 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.862, allocations: 0 / 0.7776 GB, free: 15.17 MB / 0.5105 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)