Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 113.6 kB / 17.08 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009867/0.0009868, allocations: 200.1 kB / 18.02 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6735/0.6735, allocations: 115.3 MB / 407.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 65.09 kB / 0.5583 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1181, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002349/0.1205, allocations: 1.396 MB / 0.6341 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006736/0.1212, allocations: 447 kB / 0.6345 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.1212, allocations: 4 kB / 0.6345 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.1212, allocations: 3.938 kB / 0.6345 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.1213, allocations: 11.86 kB / 0.6345 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.1215, allocations: 15.98 kB / 0.6345 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.1216, allocations: 51.78 kB / 0.6346 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.1217, allocations: 12 kB / 0.6346 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.264e-05/0.1217, allocations: 23.86 kB / 0.6346 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.1218, allocations: 19.92 kB / 0.6346 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1218, allocations: 0 / 0.6346 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.1218, allocations: 4 kB / 0.6346 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.1218, allocations: 15.97 kB / 0.6346 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.1219, allocations: 15.88 kB / 0.6347 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.122, allocations: 43.83 kB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.122, allocations: 0 / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.122, allocations: 0 / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.122, allocations: 8 kB / 0.6347 GB, free: 2.348 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005378/0.1226, allocations: 389 kB / 0.6351 GB, free: 1.914 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1226, allocations: 8.031 kB / 0.6351 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.1226, allocations: 12.81 kB / 0.6351 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1228, allocations: 180.2 kB / 0.6353 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1228, allocations: 384 / 0.6353 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.1228, allocations: 4.375 kB / 0.6353 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.1229, allocations: 65.98 kB / 0.6353 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1229, allocations: 0 / 0.6353 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1229, allocations: 0 / 0.6353 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.123, allocations: 4 kB / 0.6353 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.123, allocations: 12 kB / 0.6354 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.1234, allocations: 276.8 kB / 0.6356 GB, free: 1.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.475e-05/0.1234, allocations: 38.58 kB / 0.6357 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.1235, allocations: 24.97 kB / 0.6357 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1235, allocations: 0 / 0.6357 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.1237, allocations: 97.03 kB / 0.6358 GB, free: 1.082 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1237, allocations: 0 / 0.6358 GB, free: 1.082 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002567/0.124, allocations: 151.3 kB / 0.6359 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.124, allocations: 81.09 kB / 0.636 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.1241, allocations: 113.8 kB / 0.6361 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1241, allocations: 33.7 kB / 0.6361 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.1242, allocations: 84.14 kB / 0.6362 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.1242, allocations: 15.75 kB / 0.6362 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.1242, allocations: 29.7 kB / 0.6363 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1243, allocations: 318.8 kB / 0.6366 GB, free: 212 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.1244, allocations: 15.98 kB / 0.6366 GB, free: 196 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.22e-05/0.1244, allocations: 38.56 kB / 0.6366 GB, free: 148 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.931e-05/0.1245, allocations: 113.9 kB / 0.6367 GB, free: 12 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1245, allocations: 0 / 0.6367 GB, free: 12 kB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001662/0.1247, allocations: 127.2 kB / 0.6368 GB, free: 15.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.1247, allocations: 37.69 kB / 0.6369 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1248, allocations: 400 / 0.6369 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1248, allocations: 7.984 kB / 0.6369 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.795e-05/0.1248, allocations: 64 / 0.6369 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1248, allocations: 8 kB / 0.6369 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.842e-05/0.1249, allocations: 11.92 kB / 0.6369 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1249, allocations: 4 kB / 0.6369 GB, free: 15.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 9.973e-05/0.125, allocations: 158.9 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.125, allocations: 7.906 kB / 0.6371 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.1251, allocations: 8.359 kB / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1251, allocations: 0 / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1251, allocations: 0 / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1251, allocations: 4 kB / 0.6371 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.1255, allocations: 400.1 kB / 0.6375 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1255, allocations: 0 / 0.6375 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-06/0.1255, allocations: 4.375 kB / 0.6375 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1255, allocations: 0 / 0.6375 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1255, allocations: 7.984 kB / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1255, allocations: 0 / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1255, allocations: 4 kB / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.1257, allocations: 241 kB / 0.6377 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.1258, allocations: 89 kB / 0.6378 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1258, allocations: 0 / 0.6378 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.1259, allocations: 15.98 kB / 0.6378 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.1259, allocations: 7.938 kB / 0.6378 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.126, allocations: 0 / 0.6378 GB, free: 14.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.532e-05/0.126, allocations: 91.27 kB / 0.6379 GB, free: 14.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.126, allocations: 0 / 0.6379 GB, free: 14.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.1262, allocations: 16 kB / 0.6379 GB, free: 14.65 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 8.926e-05/0.1263, allocations: 104.8 kB / 0.638 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1265, allocations: 115.3 kB / 0.6381 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1265, allocations: 0 / 0.6381 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.1266, allocations: 87.39 kB / 0.6382 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.1269, allocations: 15.94 kB / 0.6382 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.1272, allocations: 183.4 kB / 0.6384 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.1275, allocations: 0.6885 MB / 0.6391 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.1275, allocations: 11.44 kB / 0.6391 GB, free: 13.36 MB / 494.1 MB Notification: Performance of SimCode: time 1.493e-06/0.1275, allocations: 0 / 0.6391 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Templates: time 0.002129/0.1296, allocations: 0.9144 MB / 0.64 GB, free: 12.46 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)