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.001733/0.001733, allocations: 110.5 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.001862/0.001862, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.399/1.399, allocations: 222.9 MB / 241.1 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002527, allocations: 290.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 91.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.409, allocations: 86.96 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003112/0.4121, allocations: 1.789 MB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.4138, allocations: 1.027 MB / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.4139, allocations: 0 / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006397/0.4146, allocations: 167.5 kB / 0.77 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.4149, allocations: 107.6 kB / 0.7701 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.4153, allocations: 178.9 kB / 0.7702 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000229/0.4155, allocations: 163.6 kB / 0.7704 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.4156, allocations: 16.86 kB / 0.7704 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.4158, allocations: 71.69 kB / 0.7705 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.4159, allocations: 67.7 kB / 0.7705 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.4159, allocations: 8 kB / 0.7705 GB, free: 348 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.416, allocations: 63.95 kB / 0.7706 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.4161, allocations: 43.84 kB / 0.7706 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/0.4162, allocations: 67.59 kB / 0.7707 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.4165, allocations: 196.8 kB / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4165, allocations: 4 kB / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4165, allocations: 0 / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4165, allocations: 4 kB / 0.7709 GB, free: 15.98 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.0007277/0.4172, allocations: 496 kB / 0.7714 GB, free: 15.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.4173, allocations: 12.03 kB / 0.7714 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.4173, allocations: 16.84 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.4177, allocations: 253 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4177, allocations: 4.375 kB / 0.7717 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.4177, allocations: 16 kB / 0.7717 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.4179, allocations: 87.38 kB / 0.7718 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4179, allocations: 0 / 0.7718 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4179, allocations: 3.984 kB / 0.7718 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.4179, allocations: 4 kB / 0.7718 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.418, allocations: 35.92 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.4186, allocations: 360.7 kB / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.4188, allocations: 74.61 kB / 0.7722 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.796e-05/0.4188, allocations: 28.84 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.4189, allocations: 4 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.419, allocations: 83.38 kB / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.552e-06/0.419, allocations: 0 / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003561/0.4194, allocations: 145.5 kB / 0.7725 GB, free: 14.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.4194, allocations: 77.11 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.4197, allocations: 263.7 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.4198, allocations: 25.7 kB / 0.7728 GB, free: 13.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.4199, allocations: 116.1 kB / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.4199, allocations: 35.77 kB / 0.773 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.4199, allocations: 21.72 kB / 0.773 GB, free: 13.63 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.4201, allocations: 338.8 kB / 0.7733 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.914e-05/0.4202, allocations: 23.98 kB / 0.7733 GB, free: 13.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.467e-05/0.4203, allocations: 63.36 kB / 0.7734 GB, free: 13.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.4204, allocations: 74.05 kB / 0.7735 GB, free: 13.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4204, allocations: 0 / 0.7735 GB, free: 13.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002156/0.4206, allocations: 125.5 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4206, allocations: 4 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4206, allocations: 0 / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4206, allocations: 4 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.4207, allocations: 15.92 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.4207, allocations: 0 / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.847e-05/0.4208, allocations: 7.938 kB / 0.7736 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.4208, allocations: 8.031 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.0001334/0.4209, allocations: 137.8 kB / 0.7737 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.421, allocations: 19.86 kB / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.421, allocations: 21.39 kB / 0.7738 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.421, allocations: 0 / 0.7738 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.421, allocations: 0 / 0.7738 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.421, allocations: 7.938 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.4212, allocations: 221.6 kB / 0.774 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4212, allocations: 3.984 kB / 0.774 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.4213, allocations: 8 kB / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4213, allocations: 0 / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4213, allocations: 0 / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4213, allocations: 0 / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4213, allocations: 4 kB / 0.774 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.4215, allocations: 152.9 kB / 0.7742 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.4216, allocations: 92.95 kB / 0.7742 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.4216, allocations: 0 / 0.7742 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.195e-05/0.4217, allocations: 8 kB / 0.7743 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.4217, allocations: 15.92 kB / 0.7743 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.4217, allocations: 7.938 kB / 0.7743 GB, free: 12.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002082/0.4219, allocations: 192.6 kB / 0.7745 GB, free: 11.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4219, allocations: 0 / 0.7745 GB, free: 11.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002432/0.4222, allocations: 27.94 kB / 0.7745 GB, free: 11.95 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.001545/0.4237, allocations: 440.2 kB / 0.7749 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.4239, allocations: 63.97 kB / 0.775 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4239, allocations: 3.938 kB / 0.775 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.396e-05/0.424, allocations: 31.98 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.0003068/0.4243, allocations: 37.05 kB / 0.775 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.4249, allocations: 310.8 kB / 0.7753 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.4253, allocations: 0.7241 MB / 0.776 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.543e-05/0.4253, allocations: 17.42 kB / 0.7761 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.4254, allocations: 23.42 kB / 0.7761 GB, free: 10.42 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.4254, allocations: 0 / 0.7761 GB, free: 10.42 MB / 0.545 GB Notification: Performance of Templates: time 0.006039/0.4314, allocations: 2.302 MB / 0.7783 GB, free: 8.156 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)