Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.0009609/0.0009609, allocations: 181 kB / 371.8 MB, free: 10.27 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.758/1.758, allocations: 205.4 MB / 0.6305 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 99.42 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.000494, allocations: 10.81 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2987, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9476/1.246, allocations: 144 MB / 1.12 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/1.247, allocations: 87.66 kB / 1.12 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01555/1.262, allocations: 7.001 MB / 1.127 GB, free: 31.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.975e-06/1.262, allocations: 0 / 1.127 GB, free: 31.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.413e-05/1.262, allocations: 11.62 kB / 1.127 GB, free: 31.64 MB / 0.698 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.0009378/1.263, allocations: 0.603 MB / 1.128 GB, free: 31.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.263, allocations: 11.77 kB / 1.128 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.273e-05/1.264, allocations: 62.12 kB / 1.128 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.025e-05/1.264, allocations: 42.59 kB / 1.128 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/1.264, allocations: 396.2 kB / 1.128 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/1.264, allocations: 19.81 kB / 1.128 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/1.264, allocations: 38.47 kB / 1.128 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/1.265, allocations: 330.9 kB / 1.129 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.265, allocations: 0 / 1.129 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/1.265, allocations: 14.67 kB / 1.129 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/1.265, allocations: 3.875 kB / 1.129 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/1.265, allocations: 250.5 kB / 1.129 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/1.267, allocations: 1.171 MB / 1.13 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/1.267, allocations: 243.7 kB / 1.13 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/1.267, allocations: 3.875 kB / 1.13 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/1.267, allocations: 34.5 kB / 1.13 GB, free: 29.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/1.267, allocations: 4 kB / 1.13 GB, free: 29.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0005923/1.268, allocations: 310.7 kB / 1.13 GB, free: 29.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.268, allocations: 85.06 kB / 1.131 GB, free: 29.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/1.268, allocations: 306.8 kB / 1.131 GB, free: 29.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/1.268, allocations: 25.7 kB / 1.131 GB, free: 29.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/1.268, allocations: 198.2 kB / 1.131 GB, free: 29.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/1.269, allocations: 52.78 kB / 1.131 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/1.269, allocations: 3 kB / 1.131 GB, free: 29.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.269, allocations: 343.6 kB / 1.131 GB, free: 28.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/1.269, allocations: 86.22 kB / 1.132 GB, free: 28.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/1.269, allocations: 121.1 kB / 1.132 GB, free: 28.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/1.269, allocations: 97.28 kB / 1.132 GB, free: 28.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.269, allocations: 0 / 1.132 GB, free: 28.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003867/1.27, allocations: 268.3 kB / 1.132 GB, free: 28.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.27, allocations: 269.4 kB / 1.132 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.27, allocations: 3.938 kB / 1.132 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.27, allocations: 4 kB / 1.132 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/1.27, allocations: 34.98 kB / 1.132 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.27, allocations: 3.984 kB / 1.132 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/1.27, allocations: 34.5 kB / 1.132 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/1.27, allocations: 3.844 kB / 1.132 GB, free: 28.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/1.27, allocations: 5.031 kB / 1.132 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000295/1.27, allocations: 180.6 kB / 1.133 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/1.27, allocations: 3.938 kB / 1.133 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-06/1.27, allocations: 3.875 kB / 1.133 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/1.271, allocations: 27.23 kB / 1.133 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-06/1.271, allocations: 3.938 kB / 1.133 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/1.271, allocations: 23.31 kB / 1.133 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/1.271, allocations: 3.969 kB / 1.133 GB, free: 28.49 MB / 0.698 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.0001911/1.271, allocations: 244.9 kB / 1.133 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/1.271, allocations: 31.27 kB / 1.133 GB, free: 28.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.061e-05/1.271, allocations: 40.28 kB / 1.133 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.271, allocations: 0 / 1.133 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.271, allocations: 3.984 kB / 1.133 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/1.271, allocations: 0 / 1.133 GB, free: 28.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/1.271, allocations: 404.1 kB / 1.133 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.271, allocations: 0 / 1.133 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/1.272, allocations: 31.14 kB / 1.133 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.272, allocations: 4 kB / 1.133 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/1.272, allocations: 11.23 kB / 1.133 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.272, allocations: 0 / 1.133 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.272, allocations: 0 / 1.133 GB, free: 27.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/1.272, allocations: 458.3 kB / 1.134 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/1.272, allocations: 130.8 kB / 1.134 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/1.272, allocations: 7.25 kB / 1.134 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/1.273, allocations: 15.62 kB / 1.134 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/1.273, allocations: 19.27 kB / 1.134 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/1.273, allocations: 3.844 kB / 1.134 GB, free: 27.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002046/1.273, allocations: 239.6 kB / 1.134 GB, free: 27.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.273, allocations: 0 / 1.134 GB, free: 27.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003965/1.273, allocations: 103.3 kB / 1.134 GB, free: 27.54 MB / 0.698 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.0009835/1.274, allocations: 0.9835 MB / 1.135 GB, free: 26.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005081/1.275, allocations: 289.6 kB / 1.135 GB, free: 26.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.275, allocations: 256 / 1.135 GB, free: 26.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/1.275, allocations: 101.6 kB / 1.136 GB, free: 26.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/1.275, allocations: 84.17 kB / 1.136 GB, free: 26.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/1.278, allocations: 2.111 MB / 1.138 GB, free: 25.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/1.279, allocations: 0.7846 MB / 1.138 GB, free: 24.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001359/1.279, allocations: 25.66 kB / 1.139 GB, free: 24.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/1.279, allocations: 105.2 kB / 1.139 GB, free: 24.79 MB / 0.698 GB Notification: Performance of SimCode: time 3.8e-07/1.279, allocations: 0 / 1.139 GB, free: 24.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/1.296, allocations: 6.16 MB / 1.145 GB, free: 21.96 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/1.296, allocations: 193 kB / 1.145 GB, free: 21.72 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/3.586, allocations: 0 / 1.145 GB, free: 21.72 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)