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.001251/0.001251, allocations: 107.3 kB / 17.02 MB, free: 5.699 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.001329/0.001329, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.259/1.259, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.69/0.69, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 67.89 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3111, allocations: 76.14 MB / 0.5576 GB, free: 36.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.00255/0.3136, allocations: 1.77 MB / 0.5593 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3149, allocations: 1.022 MB / 0.5603 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.315, allocations: 6.281 kB / 0.5603 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.3155, allocations: 160.4 kB / 0.5604 GB, free: 34.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.3157, allocations: 118.1 kB / 0.5606 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.3161, allocations: 169.8 kB / 0.5607 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.3163, allocations: 170.4 kB / 0.5609 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.3164, allocations: 24.95 kB / 0.5609 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.3165, allocations: 68.44 kB / 0.561 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.3166, allocations: 66.2 kB / 0.561 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3166, allocations: 8.156 kB / 0.561 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3168, allocations: 64.45 kB / 0.5611 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.3168, allocations: 39.69 kB / 0.5611 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.3169, allocations: 66.88 kB / 0.5612 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3172, allocations: 198.5 kB / 0.5614 GB, free: 34.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3172, allocations: 1.281 kB / 0.5614 GB, free: 34.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3172, allocations: 0 / 0.5614 GB, free: 34.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.3172, allocations: 0 / 0.5614 GB, free: 34.16 MB / 446.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.0005453/0.3177, allocations: 0.4884 MB / 0.5619 GB, free: 33.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.3178, allocations: 10 kB / 0.5619 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.3178, allocations: 15.66 kB / 0.5619 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3181, allocations: 243.6 kB / 0.5621 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3181, allocations: 6.938 kB / 0.5621 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3181, allocations: 8.438 kB / 0.5621 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.3183, allocations: 88.55 kB / 0.5622 GB, free: 33.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.3183, allocations: 0 / 0.5622 GB, free: 33.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.3183, allocations: 1.531 kB / 0.5622 GB, free: 33.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.3183, allocations: 3.312 kB / 0.5622 GB, free: 33.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.594e-05/0.3184, allocations: 38.2 kB / 0.5623 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.3188, allocations: 356.5 kB / 0.5626 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.319, allocations: 79.34 kB / 0.5627 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.3191, allocations: 33 kB / 0.5627 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3191, allocations: 5.828 kB / 0.5627 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.3193, allocations: 83.09 kB / 0.5628 GB, free: 32.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.3193, allocations: 2.125 kB / 0.5628 GB, free: 32.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002931/0.3196, allocations: 144.4 kB / 0.5629 GB, free: 32.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.3196, allocations: 83.69 kB / 0.563 GB, free: 32.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.3198, allocations: 262 kB / 0.5633 GB, free: 32.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.3199, allocations: 27.8 kB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.3199, allocations: 121.3 kB / 0.5634 GB, free: 32.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.3199, allocations: 25.47 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.32, allocations: 27.72 kB / 0.5635 GB, free: 32.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.3201, allocations: 332.8 kB / 0.5638 GB, free: 32.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.3201, allocations: 27.38 kB / 0.5638 GB, free: 32.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.3202, allocations: 61.8 kB / 0.5639 GB, free: 32.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.3203, allocations: 73.66 kB / 0.5639 GB, free: 32.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3203, allocations: 0 / 0.5639 GB, free: 32.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001746/0.3205, allocations: 115.5 kB / 0.564 GB, free: 31.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3205, allocations: 4.344 kB / 0.564 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3205, allocations: 2.75 kB / 0.5641 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3206, allocations: 1.781 kB / 0.5641 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.3206, allocations: 11.05 kB / 0.5641 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3206, allocations: 1.031 kB / 0.5641 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.3207, allocations: 15.33 kB / 0.5641 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.3207, allocations: 2.5 kB / 0.5641 GB, free: 31.94 MB / 446.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 9.595e-05/0.3208, allocations: 147 kB / 0.5642 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.3209, allocations: 18.5 kB / 0.5642 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.3209, allocations: 17.5 kB / 0.5643 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.3209, allocations: 8.562 kB / 0.5643 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3209, allocations: 3.375 kB / 0.5643 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3209, allocations: 4.594 kB / 0.5643 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.3211, allocations: 226.7 kB / 0.5645 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3211, allocations: 3.938 kB / 0.5645 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.3211, allocations: 4.953 kB / 0.5645 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3211, allocations: 1 kB / 0.5645 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.3211, allocations: 2.438 kB / 0.5645 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.3211, allocations: 2.125 kB / 0.5645 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3211, allocations: 0.7969 kB / 0.5645 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.3213, allocations: 149.1 kB / 0.5646 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.3214, allocations: 99.53 kB / 0.5647 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.3214, allocations: 1.625 kB / 0.5647 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.3215, allocations: 9.781 kB / 0.5648 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.3215, allocations: 4.797 kB / 0.5648 GB, free: 31.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3215, allocations: 7.688 kB / 0.5648 GB, free: 31.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.3217, allocations: 197 kB / 0.565 GB, free: 31.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3217, allocations: 0 / 0.565 GB, free: 31.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.3219, allocations: 33.42 kB / 0.565 GB, free: 31.23 MB / 446.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: 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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0008791/0.3228, allocations: 421.8 kB / 0.5654 GB, free: 31.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.323, allocations: 75.09 kB / 0.5655 GB, free: 31.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.323, allocations: 1.938 kB / 0.5655 GB, free: 31.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.3231, allocations: 41.33 kB / 0.5655 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.3234, allocations: 34.67 kB / 0.5655 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.3238, allocations: 295 kB / 0.5658 GB, free: 30.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.324, allocations: 0.7233 MB / 0.5665 GB, free: 30.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.91e-05/0.3241, allocations: 24.91 kB / 0.5665 GB, free: 30.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.3241, allocations: 18.36 kB / 0.5666 GB, free: 30.13 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3241, allocations: 0 / 0.5666 GB, free: 30.13 MB / 446.1 MB Notification: Performance of Templates: time 0.005792/0.3299, allocations: 2.294 MB / 0.5688 GB, free: 29.94 MB / 446.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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)