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: "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 102 kB / 16.4 MB, free: 6.477 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.001148/0.001148, allocations: 195.8 kB / 17.34 MB, free: 5.754 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.642/0.642, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 59.88 kB / 0.5572 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1114, allocations: 76.18 MB / 0.6315 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002205/0.1137, allocations: 1.404 MB / 0.6329 GB, free: 3.539 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006322/0.1143, allocations: 439 kB / 0.6333 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.1144, allocations: 0 / 0.6333 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.1144, allocations: 3.938 kB / 0.6333 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.1145, allocations: 11.92 kB / 0.6334 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.1147, allocations: 19.92 kB / 0.6334 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.754e-05/0.1148, allocations: 51.78 kB / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.51e-05/0.1148, allocations: 8 kB / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.499e-05/0.1149, allocations: 19.92 kB / 0.6334 GB, free: 2.992 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.115, allocations: 27.84 kB / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.115, allocations: 4 kB / 0.6335 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.115, allocations: 4 kB / 0.6335 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.115, allocations: 11.98 kB / 0.6335 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.1151, allocations: 19.88 kB / 0.6335 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.41e-05/0.1152, allocations: 42.7 kB / 0.6336 GB, free: 2.887 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1152, allocations: 0 / 0.6336 GB, free: 2.887 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1152, allocations: 0 / 0.6336 GB, free: 2.887 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1152, allocations: 0 / 0.6336 GB, free: 2.887 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.0005394/0.1157, allocations: 397.8 kB / 0.6339 GB, free: 2.445 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1158, allocations: 12.03 kB / 0.6339 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.865e-05/0.1158, allocations: 42.69 kB / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.1159, allocations: 4.938 kB / 0.634 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.116, allocations: 168.3 kB / 0.6341 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.116, allocations: 384 / 0.6342 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.116, allocations: 4.375 kB / 0.6342 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1161, allocations: 61.73 kB / 0.6342 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1161, allocations: 0 / 0.6342 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1161, allocations: 0 / 0.6342 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1161, allocations: 3.984 kB / 0.6342 GB, free: 2.102 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.864e-05/0.1162, allocations: 19.98 kB / 0.6342 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1165, allocations: 276.8 kB / 0.6345 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.021e-05/0.1166, allocations: 42.5 kB / 0.6345 GB, free: 1.711 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.1167, allocations: 20.98 kB / 0.6346 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.1167, allocations: 4 kB / 0.6346 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.1168, allocations: 105.2 kB / 0.6347 GB, free: 1.562 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1168, allocations: 0 / 0.6347 GB, free: 1.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002394/0.1171, allocations: 143.2 kB / 0.6348 GB, free: 1.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.1171, allocations: 81.11 kB / 0.6349 GB, free: 1.312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.1172, allocations: 117.9 kB / 0.635 GB, free: 1.188 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.1172, allocations: 25.7 kB / 0.635 GB, free: 1.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.1173, allocations: 84.14 kB / 0.6351 GB, free: 1.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.1173, allocations: 15.75 kB / 0.6351 GB, free: 1.055 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.1173, allocations: 29.7 kB / 0.6351 GB, free: 1.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.1174, allocations: 326.8 kB / 0.6355 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.1175, allocations: 15.98 kB / 0.6355 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.065e-05/0.1175, allocations: 38.5 kB / 0.6355 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.081e-05/0.1176, allocations: 114 kB / 0.6356 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1176, allocations: 0 / 0.6356 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001417/0.1178, allocations: 127.2 kB / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.1178, allocations: 35.27 kB / 0.6358 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1178, allocations: 0 / 0.6358 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1178, allocations: 0 / 0.6358 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.897e-05/0.1179, allocations: 7.938 kB / 0.6358 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1179, allocations: 3.938 kB / 0.6358 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.1179, allocations: 15.98 kB / 0.6358 GB, free: 300 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.118, allocations: 0 / 0.6358 GB, free: 300 kB / 478.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 8.579e-05/0.118, allocations: 155 kB / 0.6359 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.1181, allocations: 11.89 kB / 0.636 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.1181, allocations: 12.38 kB / 0.636 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1181, allocations: 384 / 0.636 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1181, allocations: 0 / 0.636 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1181, allocations: 0 / 0.636 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.1185, allocations: 404.1 kB / 0.6363 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1185, allocations: 0 / 0.6363 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-06/0.1185, allocations: 0 / 0.6363 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1185, allocations: 4 kB / 0.6364 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1185, allocations: 7.984 kB / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1185, allocations: 0 / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1185, allocations: 3.938 kB / 0.6364 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1187, allocations: 229.1 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.1187, allocations: 85.02 kB / 0.6367 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.1188, allocations: 4 kB / 0.6367 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.814e-05/0.1189, allocations: 7.984 kB / 0.6367 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1189, allocations: 11.94 kB / 0.6367 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1189, allocations: 11.98 kB / 0.6367 GB, free: 15.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.793e-05/0.119, allocations: 83.28 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.119, allocations: 0 / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.1192, allocations: 16 kB / 0.6368 GB, free: 15.15 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 0.0004006/0.1196, allocations: 0.7649 MB / 0.6375 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1198, allocations: 111.3 kB / 0.6376 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1198, allocations: 4 kB / 0.6377 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.333e-05/0.1199, allocations: 95.31 kB / 0.6377 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.1201, allocations: 23.86 kB / 0.6378 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.1212, allocations: 1.428 MB / 0.6392 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.1214, allocations: 0.6846 MB / 0.6398 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.675e-05/0.1214, allocations: 4 kB / 0.6398 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.1215, allocations: 23.42 kB / 0.6399 GB, free: 11.83 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1215, allocations: 0 / 0.6399 GB, free: 11.83 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01527/0.1368, allocations: 1.918 MB / 0.6417 GB, free: 9.992 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/7.074, allocations: 3.984 kB / 0.6417 GB, free: 9.988 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)