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.001641/0.001641, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8898/0.8898, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.5 MB / 395.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 98.5 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.962e-05, allocations: 0 / 0.5535 GB, free: 8.992 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4061, allocations: 82.31 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.5646, allocations: 116.4 MB / 0.7476 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.565, allocations: 83.89 kB / 0.7477 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01695/0.5819, allocations: 6.88 MB / 0.7544 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.252e-06/0.582, allocations: 0 / 0.7544 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.195e-05/0.582, allocations: 11.94 kB / 0.7544 GB, free: 15.28 MB / 0.5417 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.0007699/0.5828, allocations: 0.5506 MB / 0.755 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5829, allocations: 8.031 kB / 0.755 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.957e-05/0.583, allocations: 47.39 kB / 0.755 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.5835, allocations: 378.8 kB / 0.7554 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.5836, allocations: 11.98 kB / 0.7554 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.5836, allocations: 16 kB / 0.7554 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003969/0.584, allocations: 189.1 kB / 0.7556 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.5845, allocations: 268.3 kB / 0.7558 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5845, allocations: 0 / 0.7558 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.5846, allocations: 0 / 0.7558 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.5846, allocations: 8 kB / 0.7558 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.5862, allocations: 1.096 MB / 0.7569 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.5867, allocations: 194.9 kB / 0.7571 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.5868, allocations: 82.27 kB / 0.7572 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.5869, allocations: 4.156 kB / 0.7572 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.5869, allocations: 38.55 kB / 0.7572 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.173e-06/0.5869, allocations: 3.938 kB / 0.7572 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0003809/0.5873, allocations: 177.4 kB / 0.7574 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.5874, allocations: 77.39 kB / 0.7575 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.5877, allocations: 238.3 kB / 0.7577 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.5877, allocations: 25.7 kB / 0.7577 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.5879, allocations: 204 kB / 0.7579 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.588, allocations: 55.25 kB / 0.758 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.588, allocations: 0 / 0.758 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.5882, allocations: 334.8 kB / 0.7583 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.5883, allocations: 60 kB / 0.7583 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.5885, allocations: 95.38 kB / 0.7584 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.5886, allocations: 77.88 kB / 0.7585 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5886, allocations: 0 / 0.7585 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003231/0.5889, allocations: 197.2 kB / 0.7587 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.5891, allocations: 280.1 kB / 0.759 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.5891, allocations: 0 / 0.759 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5892, allocations: 4 kB / 0.759 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.5893, allocations: 31.98 kB / 0.759 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.5894, allocations: 4 kB / 0.759 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.5895, allocations: 19.83 kB / 0.759 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.5895, allocations: 8 kB / 0.759 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5896, allocations: 4 kB / 0.759 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000247/0.5898, allocations: 140.6 kB / 0.7592 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.5898, allocations: 7.953 kB / 0.7592 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.5898, allocations: 3.984 kB / 0.7592 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.59, allocations: 31.94 kB / 0.7592 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-06/0.59, allocations: 0 / 0.7592 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.378e-05/0.5901, allocations: 7.984 kB / 0.7592 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.5901, allocations: 8 kB / 0.7592 GB, free: 10.11 MB / 0.5417 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.0001012/0.5902, allocations: 120.9 kB / 0.7593 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002742/0.5905, allocations: 174.9 kB / 0.7595 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.5906, allocations: 35.66 kB / 0.7595 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.003e-05/0.5906, allocations: 22.05 kB / 0.7596 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.5907, allocations: 7.984 kB / 0.7596 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5907, allocations: 3.984 kB / 0.7596 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5907, allocations: 0 / 0.7596 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.591, allocations: 357.9 kB / 0.7599 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5911, allocations: 0 / 0.7599 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.5912, allocations: 39.92 kB / 0.76 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5912, allocations: 0 / 0.76 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.5913, allocations: 11.89 kB / 0.76 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5913, allocations: 0 / 0.76 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5913, allocations: 0 / 0.76 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.5917, allocations: 372 kB / 0.7603 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.5919, allocations: 124.8 kB / 0.7604 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.5919, allocations: 8.062 kB / 0.7604 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.592, allocations: 11.95 kB / 0.7605 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.5921, allocations: 7.984 kB / 0.7605 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.5921, allocations: 4 kB / 0.7605 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001729/0.5923, allocations: 186 kB / 0.7606 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5923, allocations: 0 / 0.7606 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003891/0.5927, allocations: 95.44 kB / 0.7607 GB, free: 8.469 MB / 0.5417 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.0008038/0.5935, allocations: 0.9087 MB / 0.7616 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004031/0.5939, allocations: 248.3 kB / 0.7619 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5939, allocations: 0 / 0.7619 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.5941, allocations: 79.92 kB / 0.7619 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.5945, allocations: 63.36 kB / 0.762 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.5956, allocations: 457.4 kB / 0.7624 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.596, allocations: 0.7879 MB / 0.7632 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001868/0.5962, allocations: 39.38 kB / 0.7632 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.5963, allocations: 103.4 kB / 0.7633 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of SimCode: time 3.096e-06/0.5963, allocations: 0 / 0.7633 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.6218, allocations: 5.469 MB / 0.7687 GB, free: 296 kB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.622, allocations: 136.1 kB / 0.7688 GB, free: 100 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.511, allocations: 4 kB / 0.7688 GB, free: 96 kB / 0.5417 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)