Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.753/1.753, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001125/0.001125, allocations: 182.4 kB / 371.6 MB, free: 3.418 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.794/1.794, allocations: 205.2 MB / 0.6309 GB, free: 11.78 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.0009987/0.0009988, allocations: 93.8 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.377e-05, allocations: 11.97 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.246, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7304/0.9765, allocations: 139 MB / 1.116 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.9767, allocations: 74.27 kB / 1.116 GB, free: 44.67 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.007853/0.9846, allocations: 2.91 MB / 1.119 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9847, allocations: 0.6562 kB / 1.119 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.9847, allocations: 0 / 1.119 GB, free: 42.97 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003437/0.985, allocations: 408 kB / 1.119 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9851, allocations: 12.03 kB / 1.119 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.9851, allocations: 30.56 kB / 1.119 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.9852, allocations: 16.06 kB / 1.119 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.562e-05/0.9853, allocations: 168.1 kB / 1.119 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.9853, allocations: 13.77 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.9853, allocations: 8 kB / 1.119 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.9855, allocations: 43.69 kB / 1.119 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.9855, allocations: 5.031 kB / 1.119 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.9855, allocations: 3.234 kB / 1.119 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.9855, allocations: 0 / 1.119 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.656e-05/0.9856, allocations: 14.56 kB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.9859, allocations: 357.6 kB / 1.12 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.492e-05/0.986, allocations: 33.2 kB / 1.12 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.9861, allocations: 19.48 kB / 1.12 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.9861, allocations: 0 / 1.12 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.9862, allocations: 81.3 kB / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.9862, allocations: 0 / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000208/0.9864, allocations: 90.92 kB / 1.12 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.9865, allocations: 51.41 kB / 1.12 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.9865, allocations: 116.6 kB / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.9866, allocations: 33.14 kB / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.9866, allocations: 88.64 kB / 1.12 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.9867, allocations: 19.17 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.9867, allocations: 7.312 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.724e-05/0.9867, allocations: 322.4 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.9869, allocations: 56.58 kB / 1.12 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.987, allocations: 95.53 kB / 1.121 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.9872, allocations: 107.1 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9872, allocations: 8 kB / 1.121 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003352/0.9875, allocations: 252.2 kB / 1.121 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.9876, allocations: 71.5 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.9876, allocations: 0 / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.9876, allocations: 4 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.88e-05/0.9876, allocations: 0 / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.9876, allocations: 4 kB / 1.121 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.9879, allocations: 73.72 kB / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.988, allocations: 15.23 kB / 1.121 GB, free: 40.5 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.005e-05/0.9881, allocations: 121.6 kB / 1.121 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.9881, allocations: 9.312 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.9881, allocations: 7.875 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.9881, allocations: 4 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9881, allocations: 0 / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.9881, allocations: 4.25 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.999e-05/0.9883, allocations: 174 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.9883, allocations: 1.031 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-06/0.9883, allocations: 3.438 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.9883, allocations: 4 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.9883, allocations: 5.219 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.9883, allocations: 0.625 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9883, allocations: 0 / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.9884, allocations: 114.1 kB / 1.121 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.9885, allocations: 83.94 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.9885, allocations: 4 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.9885, allocations: 0.5625 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.9886, allocations: 15.31 kB / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.9886, allocations: 4.469 kB / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.9886, allocations: 90.81 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9886, allocations: 0 / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002269/0.9889, allocations: 36 kB / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003477/0.9892, allocations: 0.6635 MB / 1.122 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.9895, allocations: 245.3 kB / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9895, allocations: 0 / 1.123 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.9896, allocations: 22.81 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.9898, allocations: 15.59 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.9901, allocations: 131.7 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.9903, allocations: 0.6916 MB / 1.123 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.9903, allocations: 4 kB / 1.123 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.9904, allocations: 21.89 kB / 1.123 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.9904, allocations: 4.5 kB / 1.123 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/1.004, allocations: 2.547 MB / 1.126 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/1.004, allocations: 161.2 kB / 1.126 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.645, allocations: 0 / 1.126 GB, free: 36.46 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)