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.001476/0.001476, allocations: 173.9 kB / 7.648 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.8042/0.8042, allocations: 133.6 MB / 141.6 MB, free: 2.879 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.605/1.605, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.001105/0.001105, allocations: 105.4 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.464e-05/2.445e-05, allocations: 4 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4553, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.617, allocations: 116.4 MB / 0.7476 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.6173, allocations: 83.95 kB / 0.7477 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0169/0.6342, allocations: 6.876 MB / 0.7544 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6343, allocations: 0 / 0.7544 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.856e-05/0.6343, allocations: 8 kB / 0.7544 GB, free: 15.25 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.00124/0.6356, allocations: 0.5527 MB / 0.755 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.6357, allocations: 8.031 kB / 0.755 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.6359, allocations: 47.39 kB / 0.755 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007223/0.6366, allocations: 378.8 kB / 0.7554 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.6367, allocations: 8 kB / 0.7554 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.6367, allocations: 16 kB / 0.7554 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004731/0.6372, allocations: 193 kB / 0.7556 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.6378, allocations: 268.4 kB / 0.7558 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.6378, allocations: 0 / 0.7558 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.6378, allocations: 0 / 0.7558 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.6378, allocations: 8 kB / 0.7558 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.6396, allocations: 1.096 MB / 0.7569 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.6401, allocations: 198.8 kB / 0.7571 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.6402, allocations: 80.89 kB / 0.7572 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.6402, allocations: 0 / 0.7572 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.6403, allocations: 34.78 kB / 0.7572 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 3.938e-06/0.6403, allocations: 4 kB / 0.7572 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0003658/0.6406, allocations: 178.8 kB / 0.7574 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.6407, allocations: 77.39 kB / 0.7575 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.641, allocations: 238.3 kB / 0.7577 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.6411, allocations: 25.7 kB / 0.7577 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.6412, allocations: 211.9 kB / 0.7579 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.6413, allocations: 47.27 kB / 0.758 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.6413, allocations: 3.938 kB / 0.758 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6415, allocations: 334.8 kB / 0.7583 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.6416, allocations: 64 kB / 0.7584 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.6417, allocations: 97.14 kB / 0.7584 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.6418, allocations: 67.98 kB / 0.7585 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6419, allocations: 0 / 0.7585 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003353/0.6422, allocations: 206.5 kB / 0.7587 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.6423, allocations: 275 kB / 0.759 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6424, allocations: 0 / 0.759 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.6424, allocations: 4 kB / 0.759 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.6426, allocations: 35.92 kB / 0.759 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6426, allocations: 0 / 0.759 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.6427, allocations: 23.83 kB / 0.759 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.6428, allocations: 8 kB / 0.759 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.6428, allocations: 0.625 kB / 0.759 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000253/0.6431, allocations: 148.9 kB / 0.7592 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.6431, allocations: 3.953 kB / 0.7592 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-06/0.6431, allocations: 0 / 0.7592 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.6432, allocations: 28 kB / 0.7592 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.6432, allocations: 7.922 kB / 0.7592 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.6433, allocations: 8.062 kB / 0.7592 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.6433, allocations: 8 kB / 0.7592 GB, free: 10.07 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.0001295/0.6435, allocations: 112.8 kB / 0.7593 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002897/0.6438, allocations: 181.3 kB / 0.7595 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.6438, allocations: 27.67 kB / 0.7595 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.927e-05/0.6439, allocations: 26.03 kB / 0.7596 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6439, allocations: 4 kB / 0.7596 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.644, allocations: 0 / 0.7596 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.644, allocations: 0 / 0.7596 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.6444, allocations: 361.9 kB / 0.7599 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6444, allocations: 3.938 kB / 0.7599 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.6446, allocations: 31.92 kB / 0.7599 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6446, allocations: 0 / 0.7599 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.6446, allocations: 7.953 kB / 0.76 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6446, allocations: 0 / 0.76 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6447, allocations: 0 / 0.76 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.6452, allocations: 376.8 kB / 0.7603 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.6453, allocations: 128.9 kB / 0.7604 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.6454, allocations: 0 / 0.7604 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.6455, allocations: 19.94 kB / 0.7605 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.6456, allocations: 11.92 kB / 0.7605 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.6456, allocations: 4 kB / 0.7605 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001889/0.6458, allocations: 182 kB / 0.7606 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6458, allocations: 0 / 0.7606 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004461/0.6463, allocations: 99.44 kB / 0.7607 GB, free: 8.441 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.001051/0.6473, allocations: 0.905 MB / 0.7616 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004922/0.6478, allocations: 246.8 kB / 0.7619 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6479, allocations: 0 / 0.7619 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.648, allocations: 76.25 kB / 0.7619 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005849/0.6486, allocations: 68.78 kB / 0.762 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.6501, allocations: 461.3 kB / 0.7624 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.6506, allocations: 0.784 MB / 0.7632 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002343/0.6509, allocations: 43.34 kB / 0.7632 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.6511, allocations: 99.41 kB / 0.7633 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.6511, allocations: 0 / 0.7633 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.678, allocations: 5.464 MB / 0.7687 GB, free: 280 kB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.6782, allocations: 143 kB / 0.7688 GB, free: 72 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.627, allocations: 0 / 0.7688 GB, free: 72 kB / 0.5417 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)