Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 80.39 kB / 20.97 MB, free: 3.574 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 165 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.033/1.033, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.6211/0.6211, allocations: 110.3 MB / 371.3 MB, free: 12.52 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 475.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.125e-05, allocations: 4.984 kB / 475.2 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002308/0.00233, allocations: 1.85 MB / 477 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.003644, allocations: 1.137 MB / 478.2 MB, free: 13.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.003752, allocations: 6.812 kB / 478.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.004303, allocations: 164.7 kB / 478.3 MB, free: 13.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.004609, allocations: 160.5 kB / 478.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.004918, allocations: 141.8 kB / 478.6 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.005106, allocations: 178.3 kB / 478.8 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.005203, allocations: 20.55 kB / 478.8 MB, free: 12.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.005313, allocations: 88.38 kB / 478.9 MB, free: 12.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.005421, allocations: 71.45 kB / 479 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.005442, allocations: 7.875 kB / 479 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.005603, allocations: 74.41 kB / 479.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.005672, allocations: 41.11 kB / 479.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.005725, allocations: 35.08 kB / 479.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.005972, allocations: 158.8 kB / 479.3 MB, free: 12.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005974, allocations: 0.5312 kB / 479.3 MB, free: 12.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005975, allocations: 1.719 kB / 479.3 MB, free: 12.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.005981, allocations: 0 / 479.3 MB, free: 12.77 MB / 410.7 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.0006572/0.006638, allocations: 0.5273 MB / 479.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.006675, allocations: 10.78 kB / 479.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.006735, allocations: 20.44 kB / 479.9 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.006948, allocations: 198.2 kB / 480.1 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.006967, allocations: 12.16 kB / 480.1 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.00698, allocations: 8.766 kB / 480.1 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.007104, allocations: 52.59 kB / 480.1 MB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.007114, allocations: 3.938 kB / 480.1 MB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.007125, allocations: 0 / 480.1 MB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.00714, allocations: 8.578 kB / 480.1 MB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.357e-05/0.007183, allocations: 19.66 kB / 480.2 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.007765, allocations: 337 kB / 480.5 MB, free: 27.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.007871, allocations: 63.52 kB / 480.6 MB, free: 27.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.007901, allocations: 18.8 kB / 480.6 MB, free: 27.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.007913, allocations: 4.938 kB / 480.6 MB, free: 27.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.008014, allocations: 79.3 kB / 480.7 MB, free: 27.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.008015, allocations: 3.938 kB / 480.7 MB, free: 27.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002217/0.008237, allocations: 107.9 kB / 480.8 MB, free: 27.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.008262, allocations: 54.06 kB / 480.8 MB, free: 27.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.008459, allocations: 286.7 kB / 481.1 MB, free: 27.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.008473, allocations: 28.86 kB / 481.1 MB, free: 27.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.008552, allocations: 170.1 kB / 481.3 MB, free: 27.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.008581, allocations: 22.89 kB / 481.3 MB, free: 27.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.008617, allocations: 31.75 kB / 481.3 MB, free: 27.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.008741, allocations: 0.5081 MB / 481.9 MB, free: 26.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/0.008769, allocations: 8.75 kB / 481.9 MB, free: 26.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/0.008821, allocations: 67.38 kB / 481.9 MB, free: 26.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.3e-05/0.008884, allocations: 55.88 kB / 482 MB, free: 26.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.008886, allocations: 0 / 482 MB, free: 26.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001114/0.008998, allocations: 99.08 kB / 482.1 MB, free: 26.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.009014, allocations: 5.438 kB / 482.1 MB, free: 26.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.009022, allocations: 2.844 kB / 482.1 MB, free: 26.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.009035, allocations: 3.984 kB / 482.1 MB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.009104, allocations: 11.8 kB / 482.1 MB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.009109, allocations: 4.656 kB / 482.1 MB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.009145, allocations: 6.281 kB / 482.1 MB, free: 26.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.009151, allocations: 3 kB / 482.1 MB, free: 26.36 MB / 426.7 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.0001011/0.009252, allocations: 177.6 kB / 482.3 MB, free: 26.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.009275, allocations: 22.8 kB / 482.3 MB, free: 26.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.009442, allocations: 102.4 kB / 482.4 MB, free: 26.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.009454, allocations: 2.469 kB / 482.4 MB, free: 26.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.00946, allocations: 4.406 kB / 482.4 MB, free: 26.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.009465, allocations: 0 / 482.4 MB, free: 26.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.009596, allocations: 179.5 kB / 482.6 MB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.009598, allocations: 0 / 482.6 MB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.009619, allocations: 5.125 kB / 482.6 MB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.00962, allocations: 0.5938 kB / 482.6 MB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.009628, allocations: 3 kB / 482.6 MB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.00963, allocations: 5.062 kB / 482.6 MB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009631, allocations: 0 / 482.6 MB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.009738, allocations: 146 kB / 482.7 MB, free: 25.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.009757, allocations: 19.22 kB / 482.8 MB, free: 25.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.009777, allocations: 0 / 482.8 MB, free: 25.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.758e-05/0.009804, allocations: 2.969 kB / 482.8 MB, free: 25.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.009847, allocations: 10.64 kB / 482.8 MB, free: 25.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.009856, allocations: 10.33 kB / 482.8 MB, free: 25.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.009962, allocations: 196.8 kB / 483 MB, free: 25.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009962, allocations: 0 / 483 MB, free: 25.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001832/0.01015, allocations: 30.12 kB / 483 MB, free: 25.68 MB / 426.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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * 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.000886/0.01103, allocations: 405.1 kB / 483.4 MB, free: 25.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.01116, allocations: 53.64 kB / 483.5 MB, free: 25.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01117, allocations: 0.625 kB / 483.5 MB, free: 25.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.01121, allocations: 38.05 kB / 483.5 MB, free: 25.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.01142, allocations: 46.11 kB / 483.5 MB, free: 25.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.01179, allocations: 268.2 kB / 483.8 MB, free: 25.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.681e-05/0.01182, allocations: 79.52 kB / 483.9 MB, free: 25.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.469e-05/0.01187, allocations: 24.91 kB / 483.9 MB, free: 25.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.0119, allocations: 22.77 kB / 483.9 MB, free: 25.2 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/0.0119, allocations: 0.9375 kB / 483.9 MB, free: 25.2 MB / 426.7 MB Notification: Performance of Templates: time 0.004353/0.01626, allocations: 2.444 MB / 486.4 MB, free: 24.99 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.707503027981147]