Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7131/0.7131, allocations: 128.7 MB / 144.5 MB, free: 1.391 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001175, allocations: 185.9 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 408.9 MB, free: 9.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009632/0.0009631, allocations: 100.3 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009925/0.0009927, allocations: 54.17 kB / 0.558 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1158, allocations: 75.47 MB / 0.6317 GB, free: 33.01 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002291/0.1182, allocations: 1.464 MB / 0.6331 GB, free: 31.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006974/0.1189, allocations: 492.1 kB / 0.6336 GB, free: 31.04 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.1189, allocations: 0 / 0.6336 GB, free: 31.04 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.119, allocations: 0 / 0.6336 GB, free: 31.04 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.857e-05/0.1191, allocations: 3.938 kB / 0.6336 GB, free: 31.03 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.1192, allocations: 23.97 kB / 0.6336 GB, free: 31.01 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.984e-05/0.1193, allocations: 47.84 kB / 0.6336 GB, free: 30.96 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.1194, allocations: 8 kB / 0.6337 GB, free: 30.95 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.191e-05/0.1195, allocations: 19.88 kB / 0.6337 GB, free: 30.93 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.025e-05/0.1195, allocations: 23.91 kB / 0.6337 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1196, allocations: 0 / 0.6337 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.1196, allocations: 7.938 kB / 0.6337 GB, free: 30.9 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.1196, allocations: 7.938 kB / 0.6337 GB, free: 30.89 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.1196, allocations: 23.91 kB / 0.6337 GB, free: 30.87 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.803e-05/0.1197, allocations: 31.83 kB / 0.6338 GB, free: 30.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1197, allocations: 4 kB / 0.6338 GB, free: 30.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1198, allocations: 0 / 0.6338 GB, free: 30.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1198, allocations: 8 kB / 0.6338 GB, free: 30.83 MB / 442.7 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.0005116/0.1203, allocations: 385.4 kB / 0.6341 GB, free: 30.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.1203, allocations: 8.031 kB / 0.6341 GB, free: 30.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.1204, allocations: 8.844 kB / 0.6342 GB, free: 30.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.1204, allocations: 176.3 kB / 0.6343 GB, free: 30.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1205, allocations: 4.312 kB / 0.6343 GB, free: 30.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1205, allocations: 4.375 kB / 0.6343 GB, free: 30.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.509e-05/0.1206, allocations: 61.98 kB / 0.6344 GB, free: 30.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1206, allocations: 0 / 0.6344 GB, free: 30.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.1206, allocations: 0 / 0.6344 GB, free: 30.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1206, allocations: 4 kB / 0.6344 GB, free: 30.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.1207, allocations: 15.98 kB / 0.6344 GB, free: 30.08 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.121, allocations: 276.7 kB / 0.6347 GB, free: 29.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.595e-05/0.121, allocations: 50.5 kB / 0.6347 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.1211, allocations: 16.98 kB / 0.6347 GB, free: 29.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1211, allocations: 0 / 0.6347 GB, free: 29.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.1212, allocations: 97.08 kB / 0.6348 GB, free: 29.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.1213, allocations: 3.984 kB / 0.6348 GB, free: 29.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002094/0.1215, allocations: 147.2 kB / 0.635 GB, free: 29.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.1215, allocations: 77.11 kB / 0.6351 GB, free: 29.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/0.1216, allocations: 117.9 kB / 0.6352 GB, free: 29.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.1216, allocations: 29.7 kB / 0.6352 GB, free: 29.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.1216, allocations: 84.14 kB / 0.6353 GB, free: 29.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.1217, allocations: 19.8 kB / 0.6353 GB, free: 29.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.1217, allocations: 25.72 kB / 0.6353 GB, free: 29.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.1218, allocations: 319 kB / 0.6356 GB, free: 28.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.202e-05/0.1218, allocations: 16 kB / 0.6356 GB, free: 28.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.1219, allocations: 50.38 kB / 0.6357 GB, free: 28.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.321e-05/0.122, allocations: 110 kB / 0.6358 GB, free: 28.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.122, allocations: 0 / 0.6358 GB, free: 28.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001214/0.1221, allocations: 127.2 kB / 0.6359 GB, free: 28.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.1221, allocations: 29.7 kB / 0.6359 GB, free: 28.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1222, allocations: 0 / 0.6359 GB, free: 28.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1222, allocations: 4.062 kB / 0.6359 GB, free: 28.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.85e-05/0.1222, allocations: 15.98 kB / 0.636 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1222, allocations: 4 kB / 0.636 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.1223, allocations: 4 kB / 0.636 GB, free: 28.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1223, allocations: 8 kB / 0.636 GB, free: 28.29 MB / 442.7 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 8.183e-05/0.1224, allocations: 155.4 kB / 0.6361 GB, free: 28.12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.1224, allocations: 7.906 kB / 0.6361 GB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.1225, allocations: 4.375 kB / 0.6361 GB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1225, allocations: 0 / 0.6361 GB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1225, allocations: 4 kB / 0.6361 GB, free: 28.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1225, allocations: 0 / 0.6361 GB, free: 28.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.1228, allocations: 408.1 kB / 0.6365 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1228, allocations: 3.984 kB / 0.6365 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-06/0.1228, allocations: 4 kB / 0.6365 GB, free: 27.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1228, allocations: 3.938 kB / 0.6365 GB, free: 27.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1229, allocations: 0 / 0.6365 GB, free: 27.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1229, allocations: 0 / 0.6365 GB, free: 27.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1229, allocations: 0 / 0.6365 GB, free: 27.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.1232, allocations: 0.8037 MB / 0.6373 GB, free: 26.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.1233, allocations: 88.94 kB / 0.6374 GB, free: 26.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1233, allocations: 4 kB / 0.6374 GB, free: 26.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-05/0.1234, allocations: 7.984 kB / 0.6374 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.1234, allocations: 8 kB / 0.6374 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1235, allocations: 4.094 kB / 0.6374 GB, free: 26.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.219e-05/0.1235, allocations: 95.2 kB / 0.6375 GB, free: 26.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1235, allocations: 4 kB / 0.6375 GB, free: 26.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003056/0.1238, allocations: 12 kB / 0.6375 GB, free: 26.52 MB / 442.7 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 0.000106/0.1239, allocations: 96.81 kB / 0.6376 GB, free: 26.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1241, allocations: 120.1 kB / 0.6377 GB, free: 26.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1241, allocations: 0 / 0.6377 GB, free: 26.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.1242, allocations: 99.27 kB / 0.6378 GB, free: 26.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.1244, allocations: 18.47 kB / 0.6379 GB, free: 26.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.1248, allocations: 286.2 kB / 0.6381 GB, free: 25.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.125, allocations: 0.6848 MB / 0.6388 GB, free: 25.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.713e-05/0.125, allocations: 8 kB / 0.6388 GB, free: 25.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.125, allocations: 15.42 kB / 0.6388 GB, free: 25.12 MB / 442.7 MB Notification: Performance of SimCode: time 2.01e-07/0.125, allocations: 0 / 0.6388 GB, free: 25.12 MB / 442.7 MB Notification: Performance of Templates: time 0.002499/0.1275, allocations: 0.8162 MB / 0.6396 GB, free: 24.3 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)