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.731/1.731, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001132/0.001132, allocations: 183.8 kB / 361.4 MB, free: 6.871 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.8/1.8, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009183/0.0009183, allocations: 99.41 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/2.196e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6848, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.8775, allocations: 143.3 MB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/0.8779, allocations: 84.89 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01721/0.8951, allocations: 6.927 MB / 1.111 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.797e-06/0.8952, allocations: 4 kB / 1.111 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.291e-05/0.8952, allocations: 7.984 kB / 1.111 GB, free: 5.488 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.0009516/0.8962, allocations: 0.5617 MB / 1.112 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.8962, allocations: 8.031 kB / 1.112 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.8964, allocations: 44.47 kB / 1.112 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/0.897, allocations: 394.7 kB / 1.112 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.8971, allocations: 10.06 kB / 1.112 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.8971, allocations: 16 kB / 1.112 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003963/0.8975, allocations: 189.1 kB / 1.112 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.898, allocations: 268.3 kB / 1.113 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.8981, allocations: 0 / 1.113 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.8981, allocations: 4 kB / 1.113 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.8981, allocations: 4 kB / 1.113 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.8999, allocations: 1.1 MB / 1.114 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.9003, allocations: 190.8 kB / 1.114 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.9005, allocations: 84.89 kB / 1.114 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.9005, allocations: 7.938 kB / 1.114 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.9005, allocations: 30.56 kB / 1.114 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.9006, allocations: 0 / 1.114 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004203/0.901, allocations: 179 kB / 1.114 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.901, allocations: 77.11 kB / 1.114 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.9014, allocations: 238.2 kB / 1.115 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.9014, allocations: 29.7 kB / 1.115 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.9016, allocations: 201.2 kB / 1.115 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.9017, allocations: 51.2 kB / 1.115 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.9017, allocations: 0 / 1.115 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.9019, allocations: 342.8 kB / 1.115 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.902, allocations: 60 kB / 1.115 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.9022, allocations: 96.66 kB / 1.115 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.9023, allocations: 73.36 kB / 1.115 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9023, allocations: 4 kB / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003497/0.9027, allocations: 205.2 kB / 1.116 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.9028, allocations: 279 kB / 1.116 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.9029, allocations: 0 / 1.116 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.9029, allocations: 3.984 kB / 1.116 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.9031, allocations: 31.98 kB / 1.116 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.9031, allocations: 0 / 1.116 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.9033, allocations: 23.83 kB / 1.116 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.9033, allocations: 7.938 kB / 1.116 GB, free: 500 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.9033, allocations: 8 kB / 1.116 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002607/0.9036, allocations: 146.4 kB / 1.116 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.9036, allocations: 0 / 1.116 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-06/0.9036, allocations: 4 kB / 1.116 GB, free: 344 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.9037, allocations: 35.88 kB / 1.116 GB, free: 308 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.9038, allocations: 6.891 kB / 1.116 GB, free: 304 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.9039, allocations: 7.906 kB / 1.116 GB, free: 296 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.9039, allocations: 4 kB / 1.116 GB, free: 292 kB / 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.000116/0.904, allocations: 113 kB / 1.116 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003473/0.9044, allocations: 181.4 kB / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.9044, allocations: 27.67 kB / 1.116 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.016e-05/0.9045, allocations: 30.08 kB / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.9045, allocations: 4 kB / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.9046, allocations: 2.438 kB / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.9046, allocations: 0 / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.9051, allocations: 357.8 kB / 1.117 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.9051, allocations: 0 / 1.117 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.9053, allocations: 35.92 kB / 1.117 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.9053, allocations: 0 / 1.117 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.9053, allocations: 0 / 1.117 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.9053, allocations: 7.953 kB / 1.117 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9053, allocations: 0 / 1.117 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.9059, allocations: 373.7 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.906, allocations: 128.8 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.906, allocations: 1.969 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.9062, allocations: 16.05 kB / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.9063, allocations: 11.94 kB / 1.117 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.9063, allocations: 8 kB / 1.117 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002131/0.9065, allocations: 186 kB / 1.118 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9065, allocations: 0 / 1.118 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004508/0.907, allocations: 95.52 kB / 1.118 GB, free: 14.66 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.0008355/0.9078, allocations: 0.9111 MB / 1.118 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.9083, allocations: 253.6 kB / 1.119 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9083, allocations: 0 / 1.119 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.9084, allocations: 71.94 kB / 1.119 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.9089, allocations: 77.83 kB / 1.119 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.9102, allocations: 467.8 kB / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.9106, allocations: 0.7801 MB / 1.12 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002104/0.9108, allocations: 46.19 kB / 1.12 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.911, allocations: 107.4 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of SimCode: time 8.22e-07/0.911, allocations: 0 / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.9375, allocations: 5.536 MB / 1.126 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/0.9377, allocations: 165.9 kB / 1.126 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.893, allocations: 0 / 1.126 GB, free: 6.281 MB / 0.7292 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)