Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 114.5 kB / 17.09 MB, free: 5.965 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.00102/0.00102, allocations: 193.5 kB / 18.02 MB, free: 5.047 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.22/1.22, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6643/0.6643, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 65.86 kB / 0.5584 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1121, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002851/0.115, allocations: 1.772 MB / 0.6345 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1165, allocations: 1.03 MB / 0.6355 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.1166, allocations: 0 / 0.6355 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.1172, allocations: 162.3 kB / 0.6356 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.1174, allocations: 115.5 kB / 0.6357 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1179, allocations: 173.7 kB / 0.6359 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.1181, allocations: 163.6 kB / 0.6361 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.1182, allocations: 29.08 kB / 0.6361 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1183, allocations: 71.64 kB / 0.6362 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1185, allocations: 71.75 kB / 0.6362 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1185, allocations: 8 kB / 0.6362 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1186, allocations: 67.89 kB / 0.6363 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.1187, allocations: 39.91 kB / 0.6363 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.041e-05/0.1188, allocations: 59.61 kB / 0.6364 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.119, allocations: 199.4 kB / 0.6366 GB, free: 452 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1191, allocations: 0 / 0.6366 GB, free: 452 kB / 478.1 MB Notification: Performance of FrontEnd: time 9.367e-06/0.1191, allocations: 0 / 0.6366 GB, free: 452 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1191, allocations: 3.938 kB / 0.6366 GB, free: 448 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006307/0.1197, allocations: 492.2 kB / 0.6371 GB, free: 15.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1198, allocations: 12.03 kB / 0.6371 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.1198, allocations: 16.75 kB / 0.6371 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.1201, allocations: 248.9 kB / 0.6373 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1201, allocations: 4.375 kB / 0.6373 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.1201, allocations: 4.125 kB / 0.6373 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1203, allocations: 95.31 kB / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1203, allocations: 0 / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1204, allocations: 7.938 kB / 0.6374 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.1204, allocations: 4 kB / 0.6374 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.764e-05/0.1205, allocations: 27.98 kB / 0.6375 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.1209, allocations: 356.6 kB / 0.6378 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1211, allocations: 70.67 kB / 0.6379 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.1212, allocations: 44.84 kB / 0.6379 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.1212, allocations: 0 / 0.6379 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.1214, allocations: 91.3 kB / 0.638 GB, free: 14.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1214, allocations: 0 / 0.638 GB, free: 14.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003151/0.1217, allocations: 141.7 kB / 0.6381 GB, free: 14.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.1217, allocations: 77.11 kB / 0.6382 GB, free: 14.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.122, allocations: 266.9 kB / 0.6385 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.122, allocations: 33.64 kB / 0.6385 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.1221, allocations: 116.1 kB / 0.6386 GB, free: 14.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.1221, allocations: 27.64 kB / 0.6386 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.1222, allocations: 21.72 kB / 0.6387 GB, free: 14.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1223, allocations: 334.8 kB / 0.639 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.1224, allocations: 27.98 kB / 0.639 GB, free: 13.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.1224, allocations: 59.42 kB / 0.6391 GB, free: 13.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1226, allocations: 73.64 kB / 0.6391 GB, free: 13.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1226, allocations: 0 / 0.6391 GB, free: 13.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001961/0.1228, allocations: 121.4 kB / 0.6392 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1228, allocations: 4 kB / 0.6392 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1228, allocations: 0 / 0.6392 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.1228, allocations: 0 / 0.6392 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.1229, allocations: 16.05 kB / 0.6393 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1229, allocations: 4.109 kB / 0.6393 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.123, allocations: 7.938 kB / 0.6393 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.123, allocations: 3.938 kB / 0.6393 GB, free: 13.42 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.000118/0.1231, allocations: 149.7 kB / 0.6394 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.1232, allocations: 15.81 kB / 0.6394 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.1232, allocations: 17.39 kB / 0.6394 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1232, allocations: 0 / 0.6394 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1232, allocations: 8 kB / 0.6395 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.1233, allocations: 92.91 kB / 0.6395 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.1233, allocations: 7.938 kB / 0.6396 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.087e-05/0.1234, allocations: 4 kB / 0.6396 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.1234, allocations: 4.078 kB / 0.6396 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002203/0.1237, allocations: 184.8 kB / 0.6397 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002569/0.1239, allocations: 306.5 kB / 0.64 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.063e-05/0.124, allocations: 32.3 kB / 0.6401 GB, free: 12.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.1242, allocations: 204.1 kB / 0.6403 GB, free: 12.36 MB / 494.1 MB Notification: Performance of Backend: time 3.8e-07/0.1242, allocations: 4 kB / 0.6403 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.1254, allocations: 460.4 kB / 0.6407 GB, free: 12.06 MB / 494.1 MB Notification: Performance of SimCode: time 0.0006507/0.1261, allocations: 0.7335 MB / 0.6414 GB, free: 11.29 MB / 494.1 MB Notification: Performance of Templates: time 0.005123/0.1312, allocations: 2.36 MB / 0.6437 GB, free: 8.941 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)