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.36/2.36, allocations: 284.7 MB / 297.2 MB, free: 6.391 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.00138/0.00138, allocations: 180.8 kB / 365.6 MB, free: 2.629 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.1 MB / 0.6239 GB, free: 8.258 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.001001/0.001, allocations: 94.39 kB / 0.7371 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.27e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7536/0.7537, allocations: 115.2 MB / 0.9699 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2391/0.9929, allocations: 143.8 MB / 1.11 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.9932, allocations: 80.77 kB / 1.11 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02594/1.019, allocations: 7.002 MB / 1.117 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.744e-06/1.019, allocations: 0 / 1.117 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.326e-05/1.019, allocations: 8 kB / 1.117 GB, free: 1.684 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.00107/1.02, allocations: 0.5488 MB / 1.118 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.02, allocations: 12.03 kB / 1.118 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/1.021, allocations: 66.53 kB / 1.118 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/1.021, allocations: 51.39 kB / 1.118 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007412/1.021, allocations: 382.8 kB / 1.118 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/1.022, allocations: 20.56 kB / 1.118 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.25e-05/1.022, allocations: 28 kB / 1.118 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007488/1.022, allocations: 309.4 kB / 1.119 GB, free: 176 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/1.022, allocations: 0 / 1.119 GB, free: 176 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/1.022, allocations: 8 kB / 1.119 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/1.022, allocations: 12 kB / 1.119 GB, free: 156 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/1.023, allocations: 198.3 kB / 1.119 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/1.025, allocations: 1.176 MB / 1.12 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/1.026, allocations: 198.8 kB / 1.12 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/1.026, allocations: 80.89 kB / 1.12 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/1.026, allocations: 4 kB / 1.12 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/1.026, allocations: 38.78 kB / 1.12 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 4.258e-06/1.026, allocations: 0 / 1.12 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0005383/1.027, allocations: 201.4 kB / 1.121 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/1.027, allocations: 85.09 kB / 1.121 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/1.027, allocations: 291.7 kB / 1.121 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/1.027, allocations: 29.7 kB / 1.121 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/1.028, allocations: 200 kB / 1.121 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/1.028, allocations: 55.2 kB / 1.121 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/1.028, allocations: 4 kB / 1.121 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.028, allocations: 346.8 kB / 1.121 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/1.028, allocations: 60 kB / 1.122 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/1.028, allocations: 100.4 kB / 1.122 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/1.029, allocations: 71.98 kB / 1.122 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.029, allocations: 4.031 kB / 1.122 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005365/1.029, allocations: 222 kB / 1.122 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/1.029, allocations: 271.6 kB / 1.122 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.029, allocations: 1.375 kB / 1.122 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.029, allocations: 8.062 kB / 1.122 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/1.03, allocations: 31.98 kB / 1.122 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/1.03, allocations: 4 kB / 1.122 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/1.03, allocations: 27.78 kB / 1.122 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/1.03, allocations: 9.219 kB / 1.122 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/1.03, allocations: 4.625 kB / 1.122 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004269/1.03, allocations: 162 kB / 1.122 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/1.03, allocations: 0 / 1.122 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/1.03, allocations: 0 / 1.122 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/1.031, allocations: 31.94 kB / 1.122 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/1.031, allocations: 3.984 kB / 1.122 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/1.031, allocations: 17.34 kB / 1.122 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/1.031, allocations: 11.98 kB / 1.122 GB, free: 12.1 MB / 0.7292 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.0001205/1.031, allocations: 112.9 kB / 1.123 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.424e-05/1.031, allocations: 35.58 kB / 1.123 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/1.031, allocations: 39.09 kB / 1.123 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.031, allocations: 0 / 1.123 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.031, allocations: 3 kB / 1.123 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/1.031, allocations: 7.984 kB / 1.123 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/1.032, allocations: 405.3 kB / 1.123 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.032, allocations: 0 / 1.123 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/1.032, allocations: 35.92 kB / 1.123 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/1.032, allocations: 3.953 kB / 1.123 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/1.032, allocations: 0 / 1.123 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/1.032, allocations: 6.562 kB / 1.123 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.032, allocations: 3.938 kB / 1.123 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/1.033, allocations: 392.2 kB / 1.123 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/1.033, allocations: 132.6 kB / 1.124 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/1.033, allocations: 7.953 kB / 1.124 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/1.034, allocations: 15.98 kB / 1.124 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/1.034, allocations: 16.05 kB / 1.124 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/1.034, allocations: 4 kB / 1.124 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003708/1.034, allocations: 234.2 kB / 1.124 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-07/1.034, allocations: 0 / 1.124 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005346/1.035, allocations: 91.69 kB / 1.124 GB, free: 10.51 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.001087/1.036, allocations: 0.9362 MB / 1.125 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006743/1.037, allocations: 253.9 kB / 1.125 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.037, allocations: 0 / 1.125 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/1.037, allocations: 85.28 kB / 1.125 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/1.037, allocations: 78.17 kB / 1.125 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/1.039, allocations: 480.5 kB / 1.126 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/1.039, allocations: 0.7843 MB / 1.126 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003157/1.04, allocations: 51.56 kB / 1.127 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/1.04, allocations: 102.1 kB / 1.127 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of SimCode: time 2.735e-06/1.04, allocations: 0 / 1.127 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/1.076, allocations: 6.659 MB / 1.133 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/1.076, allocations: 160.8 kB / 1.133 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/3.506, allocations: 0 / 1.133 GB, free: 1.09 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)