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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.3 MB / 308.1 MB, free: 4.312 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.001302/0.001302, allocations: 196.4 kB / 376.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205 MB / 0.6354 GB, free: 9.789 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.001118/0.001118, allocations: 92.77 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3537, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002422/0.3562, allocations: 0.7473 MB / 0.983 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.3582, allocations: 1.199 MB / 0.9841 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.3583, allocations: 0 / 0.9841 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.052e-05/0.3583, allocations: 3.984 kB / 0.9841 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.3584, allocations: 11.94 kB / 0.9841 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007436/0.3592, allocations: 195.7 kB / 0.9843 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.3594, allocations: 159.6 kB / 0.9845 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3596, allocations: 12 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.3597, allocations: 55.89 kB / 0.9846 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.3598, allocations: 51.86 kB / 0.9846 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.3599, allocations: 8 kB / 0.9846 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.36, allocations: 23.98 kB / 0.9846 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.36, allocations: 8 kB / 0.9846 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3601, allocations: 51.81 kB / 0.9847 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.3604, allocations: 139.9 kB / 0.9848 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3604, allocations: 0 / 0.9848 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3604, allocations: 0 / 0.9848 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3604, allocations: 0 / 0.9848 GB, free: 7.691 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.0006572/0.3611, allocations: 442.7 kB / 0.9852 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3611, allocations: 8.031 kB / 0.9853 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.702e-05/0.3612, allocations: 12.88 kB / 0.9853 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3614, allocations: 180.2 kB / 0.9854 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3614, allocations: 4.375 kB / 0.9854 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.3615, allocations: 8.375 kB / 0.9854 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.3616, allocations: 50.25 kB / 0.9855 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3616, allocations: 192 / 0.9855 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3616, allocations: 7.922 kB / 0.9855 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3616, allocations: 4 kB / 0.9855 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.3617, allocations: 16 kB / 0.9855 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.3623, allocations: 352.7 kB / 0.9859 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3624, allocations: 38.5 kB / 0.9859 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.3624, allocations: 16.8 kB / 0.9859 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.3625, allocations: 0 / 0.9859 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.3627, allocations: 83.38 kB / 0.986 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.406e-06/0.3627, allocations: 0 / 0.986 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002735/0.363, allocations: 101.6 kB / 0.9861 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.363, allocations: 59.38 kB / 0.9861 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3632, allocations: 121.8 kB / 0.9863 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.3632, allocations: 33.7 kB / 0.9863 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.3633, allocations: 88.14 kB / 0.9864 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.3633, allocations: 15.8 kB / 0.9864 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.3634, allocations: 49.69 kB / 0.9864 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3636, allocations: 322.8 kB / 0.9867 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.3637, allocations: 59.95 kB / 0.9868 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.3639, allocations: 96.2 kB / 0.9869 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.3641, allocations: 159.6 kB / 0.987 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3641, allocations: 0 / 0.987 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004334/0.3645, allocations: 265.3 kB / 0.9873 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.3646, allocations: 68.17 kB / 0.9874 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3646, allocations: 0 / 0.9874 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3646, allocations: 4.125 kB / 0.9874 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.048e-05/0.3646, allocations: 7.938 kB / 0.9874 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3647, allocations: 4 kB / 0.9874 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.365, allocations: 51.94 kB / 0.9874 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.3651, allocations: 11.98 kB / 0.9874 GB, free: 4.699 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,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.3652, allocations: 137.6 kB / 0.9876 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.3652, allocations: 11.91 kB / 0.9876 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.3652, allocations: 12.36 kB / 0.9876 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3653, allocations: 3.984 kB / 0.9876 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3653, allocations: 4 kB / 0.9876 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3653, allocations: 0 / 0.9876 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.3654, allocations: 173.6 kB / 0.9878 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3654, allocations: 4 kB / 0.9878 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.106e-05/0.3654, allocations: 3.984 kB / 0.9878 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3655, allocations: 0 / 0.9878 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3655, allocations: 0 / 0.9878 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3655, allocations: 4 kB / 0.9878 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3655, allocations: 4 kB / 0.9878 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.3659, allocations: 0.6707 MB / 0.9884 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.366, allocations: 85.02 kB / 0.9885 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.366, allocations: 3.984 kB / 0.9885 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.366, allocations: 7.938 kB / 0.9885 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3661, allocations: 8 kB / 0.9885 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.3661, allocations: 7.984 kB / 0.9885 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.526e-05/0.3661, allocations: 91.22 kB / 0.9886 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/0.3662, allocations: 0 / 0.9886 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003292/0.3665, allocations: 28 kB / 0.9887 GB, free: 3.309 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001857/0.3667, allocations: 103.2 kB / 0.9888 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.367, allocations: 242.7 kB / 0.989 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3671, allocations: 4.25 kB / 0.989 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.406e-05/0.3671, allocations: 32.25 kB / 0.989 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.3674, allocations: 22.31 kB / 0.989 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.3679, allocations: 279.8 kB / 0.9893 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3682, allocations: 0.6926 MB / 0.99 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.331e-05/0.3683, allocations: 4 kB / 0.99 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.3683, allocations: 15.42 kB / 0.99 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.3683, allocations: 0 / 0.99 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of Templates: time 0.004557/0.3728, allocations: 1.818 MB / 0.9918 GB, free: 36 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)