Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00137/0.00137, allocations: 108.1 kB / 16.41 MB, free: 6.508 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.001257/0.001257, allocations: 187 kB / 17.34 MB, free: 5.742 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002167/0.002167, allocations: 291.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9124/0.9124, allocations: 169.3 MB / 0.499 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4017, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.00393/0.4057, allocations: 1.774 MB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.4077, allocations: 1.024 MB / 0.7698 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.4079, allocations: 3.938 kB / 0.7698 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007371/0.4086, allocations: 163.5 kB / 0.7699 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.409, allocations: 111.6 kB / 0.7701 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006959/0.4097, allocations: 168.3 kB / 0.7702 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000325/0.41, allocations: 171.6 kB / 0.7704 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.4102, allocations: 32.84 kB / 0.7704 GB, free: 488 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.4103, allocations: 67.7 kB / 0.7705 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.4105, allocations: 71.73 kB / 0.7705 GB, free: 348 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.4105, allocations: 8 kB / 0.7705 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.4107, allocations: 67.89 kB / 0.7706 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.4108, allocations: 39.91 kB / 0.7706 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.439e-05/0.4109, allocations: 59.61 kB / 0.7707 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.4113, allocations: 201.6 kB / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4113, allocations: 0 / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.957e-06/0.4113, allocations: 8 kB / 0.7709 GB, free: 15.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.4113, allocations: 3.984 kB / 0.7709 GB, free: 15.96 MB / 0.545 GB 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.000885/0.4122, allocations: 492.2 kB / 0.7714 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.4123, allocations: 12.03 kB / 0.7714 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.831e-05/0.4124, allocations: 20.75 kB / 0.7714 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.4127, allocations: 240.9 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.4127, allocations: 8.375 kB / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.4128, allocations: 8.125 kB / 0.7717 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.413, allocations: 91.31 kB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.413, allocations: 0 / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.413, allocations: 4 kB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.413, allocations: 4 kB / 0.7718 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.4132, allocations: 39.86 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.4138, allocations: 356.6 kB / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.414, allocations: 74.67 kB / 0.7722 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.4141, allocations: 36.8 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.4141, allocations: 7.984 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.4143, allocations: 75.39 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.4143, allocations: 0 / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003809/0.4147, allocations: 145.4 kB / 0.7725 GB, free: 14.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.4148, allocations: 77.11 kB / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.4151, allocations: 271.6 kB / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.4151, allocations: 25.7 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.4152, allocations: 116.1 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.4153, allocations: 23.66 kB / 0.7729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.4153, allocations: 29.69 kB / 0.773 GB, free: 13.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4155, allocations: 338.8 kB / 0.7733 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.737e-05/0.4156, allocations: 23.98 kB / 0.7733 GB, free: 13.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.507e-05/0.4157, allocations: 67.34 kB / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.4158, allocations: 70.02 kB / 0.7734 GB, free: 13.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4158, allocations: 0 / 0.7734 GB, free: 13.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002182/0.416, allocations: 117.5 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.4161, allocations: 4 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4161, allocations: 0 / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.4161, allocations: 4 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.242e-05/0.4162, allocations: 12 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4162, allocations: 7.922 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.4163, allocations: 7.938 kB / 0.7736 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.4163, allocations: 4.109 kB / 0.7736 GB, free: 12.95 MB / 0.545 GB 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.0001418/0.4165, allocations: 148.2 kB / 0.7737 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.4165, allocations: 15.81 kB / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.4166, allocations: 21.39 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.4166, allocations: 0 / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4166, allocations: 0 / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.4166, allocations: 7.938 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.4168, allocations: 225.5 kB / 0.774 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4168, allocations: 0 / 0.774 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.4169, allocations: 4 kB / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4169, allocations: 0 / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.4169, allocations: 3.984 kB / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4169, allocations: 4 kB / 0.774 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4169, allocations: 4 kB / 0.774 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.4171, allocations: 144.8 kB / 0.7742 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.4172, allocations: 104.8 kB / 0.7743 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.4173, allocations: 4 kB / 0.7743 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-05/0.4173, allocations: 0 / 0.7743 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.4174, allocations: 7.984 kB / 0.7743 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.4174, allocations: 15.88 kB / 0.7743 GB, free: 12.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002014/0.4176, allocations: 192.6 kB / 0.7745 GB, free: 11.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4176, allocations: 0 / 0.7745 GB, free: 11.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000258/0.4179, allocations: 31.98 kB / 0.7745 GB, free: 11.93 MB / 0.545 GB 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.001057/0.4189, allocations: 415 kB / 0.7749 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.4192, allocations: 71.97 kB / 0.775 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.4192, allocations: 4.062 kB / 0.775 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.4194, allocations: 35.92 kB / 0.775 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.4197, allocations: 45.39 kB / 0.775 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.4203, allocations: 335.9 kB / 0.7754 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.4206, allocations: 0.7201 MB / 0.7761 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.4207, allocations: 19.42 kB / 0.7761 GB, free: 10.41 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.4207, allocations: 4 kB / 0.7761 GB, free: 10.4 MB / 0.545 GB Notification: Performance of Templates: time 0.006616/0.4274, allocations: 2.549 MB / 0.7786 GB, free: 7.875 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)