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.007422/0.007422, allocations: 170 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8211/0.8211, allocations: 135.2 MB / 151 MB, free: 13.83 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.504/1.504, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.0008508/0.0008509, allocations: 100.2 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004634, allocations: 8 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4315, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.5787, allocations: 117.2 MB / 0.7639 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.5789, allocations: 87.89 kB / 0.764 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01584/0.5948, allocations: 6.95 MB / 0.7708 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5948, allocations: 0 / 0.7708 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.114e-05/0.5949, allocations: 8 kB / 0.7708 GB, free: 7.793 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.000863/0.5957, allocations: 0.5998 MB / 0.7714 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.5958, allocations: 12.03 kB / 0.7714 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.689e-05/0.5959, allocations: 62.53 kB / 0.7715 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.596, allocations: 43.48 kB / 0.7715 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.5965, allocations: 379.2 kB / 0.7719 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.5965, allocations: 20.56 kB / 0.7719 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.5966, allocations: 24 kB / 0.7719 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005857/0.5971, allocations: 333.3 kB / 0.7722 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5972, allocations: 3.938 kB / 0.7722 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.5972, allocations: 12 kB / 0.7722 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.5972, allocations: 8 kB / 0.7723 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.5977, allocations: 246.1 kB / 0.7725 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.5992, allocations: 1.174 MB / 0.7736 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.5998, allocations: 243.8 kB / 0.7739 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.5998, allocations: 7.938 kB / 0.7739 GB, free: 4.477 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.5998, allocations: 34.56 kB / 0.7739 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 3.056e-06/0.5999, allocations: 4 kB / 0.7739 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0006826/0.6005, allocations: 317.9 kB / 0.7742 GB, free: 4.113 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.6006, allocations: 81.11 kB / 0.7743 GB, free: 4.016 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.6009, allocations: 295.7 kB / 0.7746 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.601, allocations: 25.7 kB / 0.7746 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.6011, allocations: 200 kB / 0.7748 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.522e-05/0.6012, allocations: 51.27 kB / 0.7748 GB, free: 3.441 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.6012, allocations: 4 kB / 0.7748 GB, free: 3.438 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6013, allocations: 338.8 kB / 0.7752 GB, free: 3.098 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.6015, allocations: 87.97 kB / 0.7753 GB, free: 3.012 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.6017, allocations: 119.4 kB / 0.7754 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.6019, allocations: 101.4 kB / 0.7755 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6019, allocations: 0 / 0.7755 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004501/0.6024, allocations: 261.1 kB / 0.7757 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.6026, allocations: 276.2 kB / 0.776 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.6026, allocations: 64 / 0.776 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.6026, allocations: 8 kB / 0.776 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.6028, allocations: 27.98 kB / 0.776 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.6028, allocations: 7.938 kB / 0.776 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.6029, allocations: 31.78 kB / 0.776 GB, free: 2.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.6029, allocations: 4 kB / 0.776 GB, free: 2.156 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.6029, allocations: 4 kB / 0.7761 GB, free: 2.152 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003019/0.6033, allocations: 172.9 kB / 0.7762 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.6033, allocations: 4 kB / 0.7762 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-06/0.6033, allocations: 0 / 0.7762 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.6034, allocations: 31.92 kB / 0.7763 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-06/0.6034, allocations: 0 / 0.7763 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.6035, allocations: 23.78 kB / 0.7763 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.6035, allocations: 4 kB / 0.7763 GB, free: 1.922 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 () * 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.0002101/0.6038, allocations: 251.9 kB / 0.7765 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.6038, allocations: 35.58 kB / 0.7766 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.678e-05/0.6039, allocations: 35.27 kB / 0.7766 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6039, allocations: 0 / 0.7766 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6039, allocations: 0 / 0.7766 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.6039, allocations: 4 kB / 0.7766 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.6044, allocations: 409.3 kB / 0.777 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6044, allocations: 0 / 0.777 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.6045, allocations: 27.92 kB / 0.777 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6046, allocations: 11.95 kB / 0.777 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.6046, allocations: 7.984 kB / 0.777 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.6046, allocations: 3.938 kB / 0.777 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6046, allocations: 0 / 0.777 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.6053, allocations: 449.3 kB / 0.7775 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.6054, allocations: 136.7 kB / 0.7776 GB, free: 500 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.6055, allocations: 3.953 kB / 0.7776 GB, free: 496 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.6056, allocations: 19.98 kB / 0.7776 GB, free: 476 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.6057, allocations: 16.05 kB / 0.7776 GB, free: 460 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.6057, allocations: 4 kB / 0.7776 GB, free: 456 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002362/0.6059, allocations: 231.1 kB / 0.7779 GB, free: 224 kB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6059, allocations: 0 / 0.7779 GB, free: 224 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003776/0.6063, allocations: 91.69 kB / 0.7779 GB, free: 132 kB / 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 () * 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.0009859/0.6073, allocations: 0.9854 MB / 0.7789 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006131/0.6079, allocations: 295.8 kB / 0.7792 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.608, allocations: 0 / 0.7792 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.6081, allocations: 104.2 kB / 0.7793 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.6086, allocations: 69.33 kB / 0.7793 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.6117, allocations: 2.097 MB / 0.7814 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.6121, allocations: 0.7794 MB / 0.7822 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.6123, allocations: 26.28 kB / 0.7822 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.6124, allocations: 99.41 kB / 0.7823 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/0.6124, allocations: 0 / 0.7823 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.6313, allocations: 6.068 MB / 0.7882 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.6315, allocations: 180.5 kB / 0.7884 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.693, allocations: 0 / 0.7884 GB, free: 5.391 MB / 0.5573 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)