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.698/1.698, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.001537/0.001538, allocations: 176.9 kB / 366.7 MB, free: 1.641 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.642/1.642, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0008254/0.0008254, allocations: 91.17 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.097e-05/4.077e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6291/0.6291, allocations: 116.3 MB / 0.9734 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.8136, allocations: 138.3 MB / 1.108 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.8139, allocations: 73.83 kB / 1.109 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00874/0.8227, allocations: 2.903 MB / 1.111 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8227, allocations: 4 kB / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.8227, allocations: 2.25 kB / 1.111 GB, free: 8.922 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004321/0.8232, allocations: 405.8 kB / 1.112 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.8232, allocations: 8.031 kB / 1.112 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.8233, allocations: 9.812 kB / 1.112 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.8234, allocations: 167 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.8235, allocations: 4.859 kB / 1.112 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.8235, allocations: 8 kB / 1.112 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.522e-05/0.8236, allocations: 15.5 kB / 1.112 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.669e-05/0.8237, allocations: 45.62 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.8237, allocations: 2.25 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.8237, allocations: 0 / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.8237, allocations: 4 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.8242, allocations: 333.2 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.183e-05/0.8242, allocations: 31.3 kB / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.8243, allocations: 15.11 kB / 1.112 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.8243, allocations: 4 kB / 1.112 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.8244, allocations: 75.41 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.8244, allocations: 4 kB / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001832/0.8246, allocations: 79.94 kB / 1.113 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.8247, allocations: 59.39 kB / 1.113 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.8248, allocations: 105.1 kB / 1.113 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.8248, allocations: 33.64 kB / 1.113 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.8249, allocations: 96.22 kB / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.8249, allocations: 13.86 kB / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.8249, allocations: 4 kB / 1.113 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.8251, allocations: 326.8 kB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.8252, allocations: 51.94 kB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.8253, allocations: 80.28 kB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.8256, allocations: 71.94 kB / 1.113 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8256, allocations: 0 / 1.113 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004819/0.8261, allocations: 205.1 kB / 1.114 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.8262, allocations: 71.39 kB / 1.114 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8262, allocations: 1.219 kB / 1.114 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8262, allocations: 0 / 1.114 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.921e-05/0.8262, allocations: 4 kB / 1.114 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.8262, allocations: 3.984 kB / 1.114 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.8266, allocations: 72.06 kB / 1.114 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.8266, allocations: 12 kB / 1.114 GB, free: 6.324 MB / 0.7136 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 0.0001092/0.8267, allocations: 124.9 kB / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001043/0.8268, allocations: 73.59 kB / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-06/0.8269, allocations: 3.906 kB / 1.114 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.8269, allocations: 12.62 kB / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.8269, allocations: 0 / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8269, allocations: 0 / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.8269, allocations: 7.969 kB / 1.114 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.8271, allocations: 157 kB / 1.114 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8271, allocations: 4 kB / 1.114 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.746e-06/0.8271, allocations: 0 / 1.114 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.8271, allocations: 0 / 1.114 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.8271, allocations: 4 kB / 1.114 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.8271, allocations: 4 kB / 1.114 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.8271, allocations: 3.938 kB / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.8273, allocations: 101.1 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.8273, allocations: 81.02 kB / 1.114 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.8273, allocations: 4 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.8273, allocations: 7.984 kB / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.8274, allocations: 0 / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.8274, allocations: 7.938 kB / 1.114 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.8274, allocations: 91.27 kB / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8274, allocations: 0 / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002294/0.8277, allocations: 32 kB / 1.114 GB, free: 5.531 MB / 0.7136 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.0004467/0.8281, allocations: 0.6654 MB / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002895/0.8284, allocations: 226.7 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8284, allocations: 0 / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.8285, allocations: 24 kB / 1.115 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.8287, allocations: 19.2 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.8291, allocations: 132.8 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.8293, allocations: 0.6885 MB / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.8294, allocations: 4 kB / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.8294, allocations: 19.38 kB / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8294, allocations: 0 / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.8501, allocations: 2.15 MB / 1.118 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.8504, allocations: 137.2 kB / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.478, allocations: 0 / 1.118 GB, free: 1.391 MB / 0.7136 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)