Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.592/2.592, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001375/0.001375, allocations: 184.8 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.415/2.415, allocations: 205.3 MB / 0.6191 GB, free: 12.17 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.001089, allocations: 102.9 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.05e-05, allocations: 0 / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8553/0.8553, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2679/1.123, allocations: 143.1 MB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/1.124, allocations: 81.44 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02718/1.151, allocations: 6.939 MB / 1.11 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.934e-06/1.151, allocations: 0 / 1.11 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.134e-05/1.151, allocations: 11.98 kB / 1.11 GB, free: 6.348 MB / 0.7136 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.001154/1.152, allocations: 0.5527 MB / 1.111 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.152, allocations: 8.031 kB / 1.111 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/1.152, allocations: 47.42 kB / 1.111 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/1.153, allocations: 386.8 kB / 1.111 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/1.153, allocations: 12 kB / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/1.153, allocations: 16 kB / 1.111 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006159/1.154, allocations: 189.1 kB / 1.111 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/1.155, allocations: 268.3 kB / 1.111 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/1.155, allocations: 0 / 1.111 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/1.155, allocations: 0 / 1.111 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/1.155, allocations: 8 kB / 1.111 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/1.157, allocations: 1.1 MB / 1.113 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/1.158, allocations: 196.2 kB / 1.113 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/1.158, allocations: 80.86 kB / 1.113 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/1.158, allocations: 4 kB / 1.113 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/1.158, allocations: 30.78 kB / 1.113 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 7.615e-06/1.158, allocations: 3.984 kB / 1.113 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0005394/1.159, allocations: 187.4 kB / 1.113 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/1.159, allocations: 81.06 kB / 1.113 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/1.159, allocations: 238.2 kB / 1.113 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/1.159, allocations: 29.7 kB / 1.113 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/1.159, allocations: 196.4 kB / 1.114 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.262e-05/1.159, allocations: 55.19 kB / 1.114 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/1.159, allocations: 0.6562 kB / 1.114 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.16, allocations: 334.8 kB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/1.16, allocations: 67.94 kB / 1.114 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/1.16, allocations: 92.84 kB / 1.114 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/1.16, allocations: 68.95 kB / 1.114 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.16, allocations: 0 / 1.114 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005285/1.161, allocations: 210.3 kB / 1.114 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/1.161, allocations: 276.4 kB / 1.115 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/1.161, allocations: 4 kB / 1.115 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.161, allocations: 0 / 1.115 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/1.161, allocations: 33.42 kB / 1.115 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/1.161, allocations: 3.938 kB / 1.115 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/1.162, allocations: 23.83 kB / 1.115 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/1.162, allocations: 10.73 kB / 1.115 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/1.162, allocations: 8.781 kB / 1.115 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003863/1.162, allocations: 142 kB / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/1.162, allocations: 0 / 1.115 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/1.162, allocations: 3.953 kB / 1.115 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/1.162, allocations: 27.98 kB / 1.115 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/1.162, allocations: 0 / 1.115 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/1.163, allocations: 15.89 kB / 1.115 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/1.163, allocations: 4 kB / 1.115 GB, free: 1.156 MB / 0.7136 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.000133/1.163, allocations: 115.6 kB / 1.115 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000447/1.163, allocations: 183.8 kB / 1.115 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/1.163, allocations: 27.67 kB / 1.115 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/1.163, allocations: 30.08 kB / 1.115 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.163, allocations: 0 / 1.115 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.163, allocations: 0 / 1.115 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/1.163, allocations: 7.984 kB / 1.115 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/1.164, allocations: 357.8 kB / 1.116 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.164, allocations: 3.938 kB / 1.116 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/1.164, allocations: 35.92 kB / 1.116 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/1.165, allocations: 0 / 1.116 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/1.165, allocations: 3.953 kB / 1.116 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.165, allocations: 0 / 1.116 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.165, allocations: 4 kB / 1.116 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/1.165, allocations: 368.5 kB / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/1.166, allocations: 128.7 kB / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/1.166, allocations: 4 kB / 1.116 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/1.166, allocations: 16.02 kB / 1.116 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/1.166, allocations: 11.98 kB / 1.116 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/1.166, allocations: 11.92 kB / 1.116 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002855/1.166, allocations: 182 kB / 1.116 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.166, allocations: 4 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006199/1.167, allocations: 91.53 kB / 1.116 GB, free: 15.52 MB / 0.7292 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.001139/1.168, allocations: 0.9055 MB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006691/1.169, allocations: 245.8 kB / 1.118 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.169, allocations: 0 / 1.118 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/1.169, allocations: 83.92 kB / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/1.17, allocations: 62.42 kB / 1.118 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/1.171, allocations: 462 kB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/1.172, allocations: 0.7918 MB / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003781/1.172, allocations: 45.8 kB / 1.119 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/1.173, allocations: 99.41 kB / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/1.173, allocations: 0 / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04482/1.217, allocations: 5.539 MB / 1.124 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003535/1.218, allocations: 166.7 kB / 1.125 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.569/3.787, allocations: 0 / 1.125 GB, free: 7.152 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)