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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 174.7 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.8321/0.8321, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.558/1.558, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.0008334/0.0008337, allocations: 95.86 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.67e-05, allocations: 3.031 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1782, allocations: 82.31 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6857/0.8639, allocations: 117.1 MB / 0.7548 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.8642, allocations: 81.16 kB / 0.7549 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01581/0.8801, allocations: 6.933 MB / 0.7617 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8801, allocations: 3.844 kB / 0.7617 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.787e-05/0.8802, allocations: 3.781 kB / 0.7617 GB, free: 25.49 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.0009308/0.8811, allocations: 0.5565 MB / 0.7622 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.8812, allocations: 7.656 kB / 0.7623 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.319e-05/0.8813, allocations: 63.41 kB / 0.7623 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.8814, allocations: 54.64 kB / 0.7624 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.882, allocations: 373.8 kB / 0.7627 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.882, allocations: 20.06 kB / 0.7627 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.8821, allocations: 29.75 kB / 0.7628 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.8826, allocations: 306.9 kB / 0.7631 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.8826, allocations: 0 / 0.7631 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.8827, allocations: 12.5 kB / 0.7631 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.8827, allocations: 15.62 kB / 0.7631 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.8831, allocations: 197.2 kB / 0.7633 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.8846, allocations: 1.172 MB / 0.7644 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.8851, allocations: 194.1 kB / 0.7646 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.8852, allocations: 85.52 kB / 0.7647 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.8853, allocations: 7.719 kB / 0.7647 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.8853, allocations: 34.56 kB / 0.7647 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.8853, allocations: 0 / 0.7647 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0003748/0.8857, allocations: 200.7 kB / 0.7649 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.8858, allocations: 80.92 kB / 0.765 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.8861, allocations: 293.7 kB / 0.7653 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.8862, allocations: 25.7 kB / 0.7653 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.8863, allocations: 197.2 kB / 0.7655 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.8864, allocations: 56.39 kB / 0.7655 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/0.8864, allocations: 6.438 kB / 0.7655 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8865, allocations: 343.3 kB / 0.7659 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.8866, allocations: 60.53 kB / 0.7659 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.8868, allocations: 96.62 kB / 0.766 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.8869, allocations: 73.61 kB / 0.7661 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8869, allocations: 4.031 kB / 0.7661 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000311/0.8873, allocations: 224.2 kB / 0.7663 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.8874, allocations: 271.7 kB / 0.7666 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.8874, allocations: 8 kB / 0.7666 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.8874, allocations: 0 / 0.7666 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.8876, allocations: 37.75 kB / 0.7666 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.8876, allocations: 3.844 kB / 0.7666 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.8878, allocations: 30.56 kB / 0.7666 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.8878, allocations: 3.844 kB / 0.7667 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.8878, allocations: 3.969 kB / 0.7667 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002402/0.8881, allocations: 164.1 kB / 0.7668 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.8881, allocations: 0 / 0.7668 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-06/0.8881, allocations: 0 / 0.7668 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.8882, allocations: 34.14 kB / 0.7668 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.8882, allocations: 3.844 kB / 0.7668 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.8883, allocations: 19.55 kB / 0.7669 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.8884, allocations: 6.812 kB / 0.7669 GB, free: 22.52 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 0.0001064/0.8885, allocations: 115 kB / 0.767 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.8885, allocations: 35.27 kB / 0.767 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.969e-05/0.8886, allocations: 31.28 kB / 0.767 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.8887, allocations: 3.812 kB / 0.767 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.8887, allocations: 0 / 0.767 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.8887, allocations: 3.938 kB / 0.7671 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.8891, allocations: 418.4 kB / 0.7675 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.8891, allocations: 0 / 0.7675 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.8893, allocations: 30.39 kB / 0.7675 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.8893, allocations: 3.953 kB / 0.7675 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.8893, allocations: 3.875 kB / 0.7675 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.8893, allocations: 8 kB / 0.7675 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8893, allocations: 0 / 0.7675 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.8898, allocations: 392.5 kB / 0.7679 GB, free: 21.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.8899, allocations: 131.5 kB / 0.768 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.89, allocations: 10.42 kB / 0.768 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.8901, allocations: 15.3 kB / 0.768 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.8902, allocations: 11.89 kB / 0.768 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.8902, allocations: 3.844 kB / 0.768 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002562/0.8905, allocations: 235.6 kB / 0.7683 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8905, allocations: 0 / 0.7683 GB, free: 21.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004038/0.8909, allocations: 91.25 kB / 0.7683 GB, free: 21.67 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.000812/0.8917, allocations: 0.9241 MB / 0.7693 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.8922, allocations: 263.1 kB / 0.7695 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8922, allocations: 0 / 0.7695 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.8923, allocations: 80.09 kB / 0.7696 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.8928, allocations: 75.56 kB / 0.7696 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.8939, allocations: 475.2 kB / 0.7701 GB, free: 20.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.8943, allocations: 0.7849 MB / 0.7709 GB, free: 19.94 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.8945, allocations: 53.94 kB / 0.7709 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.8947, allocations: 99.97 kB / 0.771 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/0.8947, allocations: 0 / 0.771 GB, free: 19.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.9159, allocations: 6.569 MB / 0.7774 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.9162, allocations: 148.6 kB / 0.7776 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.405, allocations: 0 / 0.7776 GB, free: 15.12 MB / 0.5105 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/linux/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)