Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 249.5 MB / 257 MB, free: 6.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009886/0.0009885, allocations: 167.7 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 93.16 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.787e-05/1.776e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.253, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8461/1.099, allocations: 137.9 MB / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/1.1, allocations: 88.53 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01589/1.115, allocations: 6.943 MB / 1.027 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.923e-06/1.115, allocations: 0 / 1.027 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.158e-05/1.116, allocations: 12 kB / 1.027 GB, free: 9.836 MB / 0.6511 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.001021/1.117, allocations: 0.5474 MB / 1.027 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.117, allocations: 8.031 kB / 1.027 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/1.117, allocations: 39.53 kB / 1.027 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000698/1.118, allocations: 407.3 kB / 1.028 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/1.118, allocations: 8 kB / 1.028 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/1.118, allocations: 16 kB / 1.028 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003956/1.118, allocations: 187 kB / 1.028 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/1.119, allocations: 265.2 kB / 1.028 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.119, allocations: 0 / 1.028 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/1.119, allocations: 0 / 1.028 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/1.119, allocations: 12 kB / 1.028 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/1.12, allocations: 1.097 MB / 1.029 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/1.121, allocations: 202.6 kB / 1.03 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/1.121, allocations: 75.55 kB / 1.03 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/1.121, allocations: 0 / 1.03 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/1.121, allocations: 41.81 kB / 1.03 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/1.121, allocations: 0 / 1.03 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003659/1.121, allocations: 180.2 kB / 1.03 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/1.121, allocations: 89 kB / 1.03 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/1.122, allocations: 234.5 kB / 1.03 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/1.122, allocations: 28.52 kB / 1.03 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/1.122, allocations: 196.4 kB / 1.03 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/1.122, allocations: 50.52 kB / 1.03 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/1.122, allocations: 0 / 1.03 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.122, allocations: 345.6 kB / 1.031 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.501e-05/1.122, allocations: 61.22 kB / 1.031 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/1.122, allocations: 93.16 kB / 1.031 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/1.122, allocations: 77.86 kB / 1.031 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.122, allocations: 0 / 1.031 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003063/1.123, allocations: 205.6 kB / 1.031 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.123, allocations: 276.1 kB / 1.031 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.123, allocations: 0 / 1.031 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.123, allocations: 7.938 kB / 1.031 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/1.123, allocations: 35.98 kB / 1.032 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1.123, allocations: 7.984 kB / 1.032 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/1.123, allocations: 19.83 kB / 1.032 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/1.123, allocations: 7.312 kB / 1.032 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/1.123, allocations: 4 kB / 1.032 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002136/1.123, allocations: 138.6 kB / 1.032 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/1.123, allocations: 4 kB / 1.032 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.918e-06/1.123, allocations: 8.016 kB / 1.032 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/1.124, allocations: 27.67 kB / 1.032 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-06/1.124, allocations: 4 kB / 1.032 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.983e-05/1.124, allocations: 4 kB / 1.032 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/1.124, allocations: 7.984 kB / 1.032 GB, free: 5.695 MB / 0.6511 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.793e-05/1.124, allocations: 108.9 kB / 1.032 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002593/1.124, allocations: 179.6 kB / 1.032 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/1.124, allocations: 31.67 kB / 1.032 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.769e-05/1.124, allocations: 31.45 kB / 1.032 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/1.124, allocations: 4 kB / 1.032 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.124, allocations: 3.938 kB / 1.032 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.124, allocations: 3.984 kB / 1.032 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/1.125, allocations: 362.6 kB / 1.032 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.125, allocations: 0 / 1.032 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/1.125, allocations: 23.98 kB / 1.032 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/1.125, allocations: 4 kB / 1.032 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/1.125, allocations: 3.953 kB / 1.032 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.125, allocations: 0 / 1.032 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.125, allocations: 4 kB / 1.032 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/1.125, allocations: 371.7 kB / 1.033 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/1.125, allocations: 132.9 kB / 1.033 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/1.125, allocations: 4 kB / 1.033 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/1.126, allocations: 11.95 kB / 1.033 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/1.126, allocations: 15.92 kB / 1.033 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/1.126, allocations: 7.312 kB / 1.033 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001765/1.126, allocations: 187.3 kB / 1.033 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.126, allocations: 0 / 1.033 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004144/1.126, allocations: 87.53 kB / 1.033 GB, free: 4.383 MB / 0.6511 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.0007459/1.127, allocations: 0.9209 MB / 1.034 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003974/1.127, allocations: 240.6 kB / 1.034 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.127, allocations: 0 / 1.034 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/1.128, allocations: 79.92 kB / 1.034 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/1.128, allocations: 68.34 kB / 1.035 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/1.129, allocations: 464.1 kB / 1.035 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/1.13, allocations: 0.7879 MB / 1.036 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002085/1.13, allocations: 43.3 kB / 1.036 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/1.13, allocations: 97.59 kB / 1.036 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of SimCode: time 3.51e-07/1.13, allocations: 0 / 1.036 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/1.156, allocations: 5.548 MB / 1.041 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/1.156, allocations: 163.2 kB / 1.041 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.967, allocations: 3.938 kB / 1.041 GB, free: 12.29 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)