Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.6 MB / 307.5 MB, free: 5.125 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.001062/0.001062, allocations: 181 kB / 377.1 MB, free: 1.434 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.499/1.499, allocations: 205.4 MB / 0.6366 GB, free: 8.578 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.001007/0.001007, allocations: 97.84 kB / 0.7509 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003346, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3054, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8744/1.18, allocations: 145 MB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/1.18, allocations: 88.64 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01782/1.198, allocations: 6.993 MB / 1.137 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.855e-06/1.198, allocations: 0 / 1.137 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.629e-05/1.198, allocations: 12 kB / 1.137 GB, free: 26.14 MB / 0.7292 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.001223/1.199, allocations: 0.6051 MB / 1.138 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/1.199, allocations: 12.02 kB / 1.138 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/1.2, allocations: 60.89 kB / 1.138 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/1.2, allocations: 42.39 kB / 1.138 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/1.2, allocations: 395.5 kB / 1.138 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/1.201, allocations: 29.09 kB / 1.138 GB, free: 25.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/1.201, allocations: 32.7 kB / 1.138 GB, free: 24.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007786/1.201, allocations: 331.7 kB / 1.138 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/1.201, allocations: 0 / 1.138 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/1.201, allocations: 11.94 kB / 1.138 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/1.202, allocations: 9.406 kB / 1.138 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005916/1.202, allocations: 247.2 kB / 1.139 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/1.204, allocations: 1.163 MB / 1.14 GB, free: 23.42 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000608/1.205, allocations: 247.6 kB / 1.14 GB, free: 23.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/1.205, allocations: 4.797 kB / 1.14 GB, free: 23.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/1.205, allocations: 38.56 kB / 1.14 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/1.205, allocations: 0 / 1.14 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0007056/1.206, allocations: 313.1 kB / 1.14 GB, free: 22.85 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/1.206, allocations: 86.66 kB / 1.14 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/1.206, allocations: 307.6 kB / 1.141 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/1.206, allocations: 29.7 kB / 1.141 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/1.206, allocations: 198 kB / 1.141 GB, free: 22.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/1.206, allocations: 51.5 kB / 1.141 GB, free: 22.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/1.206, allocations: 4 kB / 1.141 GB, free: 22.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.206, allocations: 340.5 kB / 1.141 GB, free: 21.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/1.207, allocations: 84.95 kB / 1.141 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/1.207, allocations: 119.7 kB / 1.142 GB, free: 21.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/1.207, allocations: 96.89 kB / 1.142 GB, free: 21.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.207, allocations: 0 / 1.142 GB, free: 21.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004585/1.207, allocations: 269.3 kB / 1.142 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/1.208, allocations: 268.5 kB / 1.142 GB, free: 21.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/1.208, allocations: 4 kB / 1.142 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/1.208, allocations: 4 kB / 1.142 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/1.208, allocations: 32.59 kB / 1.142 GB, free: 21.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.208, allocations: 4.609 kB / 1.142 GB, free: 21.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/1.208, allocations: 26.7 kB / 1.142 GB, free: 21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/1.208, allocations: 8.703 kB / 1.142 GB, free: 20.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/1.208, allocations: 4 kB / 1.142 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003074/1.208, allocations: 182.8 kB / 1.142 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/1.208, allocations: 1.188 kB / 1.142 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/1.208, allocations: 0 / 1.142 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/1.208, allocations: 27.14 kB / 1.142 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/1.209, allocations: 3.938 kB / 1.142 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/1.209, allocations: 24.92 kB / 1.142 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/1.209, allocations: 4.75 kB / 1.142 GB, free: 20.76 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 () * 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.0002258/1.209, allocations: 255.5 kB / 1.143 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/1.209, allocations: 31.58 kB / 1.143 GB, free: 20.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.211e-05/1.209, allocations: 31.56 kB / 1.143 GB, free: 20.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/1.209, allocations: 5.781 kB / 1.143 GB, free: 20.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.209, allocations: 0 / 1.143 GB, free: 20.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.209, allocations: 1.922 kB / 1.143 GB, free: 20.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/1.21, allocations: 407.7 kB / 1.143 GB, free: 20.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.21, allocations: 0.5625 kB / 1.143 GB, free: 20.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/1.21, allocations: 36.06 kB / 1.143 GB, free: 20.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/1.21, allocations: 0 / 1.143 GB, free: 20.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/1.21, allocations: 8.609 kB / 1.143 GB, free: 20.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.21, allocations: 4 kB / 1.143 GB, free: 20.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.21, allocations: 0 / 1.143 GB, free: 20.03 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/1.21, allocations: 454.3 kB / 1.144 GB, free: 19.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/1.211, allocations: 127.8 kB / 1.144 GB, free: 19.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/1.211, allocations: 6.047 kB / 1.144 GB, free: 19.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/1.211, allocations: 24.05 kB / 1.144 GB, free: 19.44 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/1.211, allocations: 8.172 kB / 1.144 GB, free: 19.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/1.211, allocations: 8 kB / 1.144 GB, free: 19.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002475/1.211, allocations: 240.2 kB / 1.144 GB, free: 19.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.1e-07/1.211, allocations: 0 / 1.144 GB, free: 19.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003892/1.212, allocations: 92.28 kB / 1.144 GB, free: 19.13 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 () * 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.0008365/1.212, allocations: 0.9894 MB / 1.145 GB, free: 18.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005336/1.213, allocations: 288.2 kB / 1.145 GB, free: 17.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.213, allocations: 5.125 kB / 1.145 GB, free: 17.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/1.213, allocations: 101 kB / 1.145 GB, free: 17.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/1.214, allocations: 76.2 kB / 1.146 GB, free: 17.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/1.217, allocations: 2.125 MB / 1.148 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/1.217, allocations: 0.7822 MB / 1.148 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001781/1.217, allocations: 31.03 kB / 1.148 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/1.217, allocations: 105.3 kB / 1.149 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.217, allocations: 0.6562 kB / 1.149 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/1.239, allocations: 6.144 MB / 1.155 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/1.24, allocations: 182.2 kB / 1.155 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/3.628, allocations: 0 / 1.155 GB, free: 11.05 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)