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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 114.9 kB / 17.13 MB, free: 6.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 197.2 kB / 20.08 MB, free: 3.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002249/0.002249, allocations: 277.3 kB / 303.6 MB, free: 3.746 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9942/0.9942, allocations: 180.9 MB / 0.5268 GB, free: 2.672 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 95.84 kB / 0.7259 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.4967, allocations: 94.16 MB / 0.8179 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002681/0.4994, allocations: 1.801 MB / 0.8196 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.5008, allocations: 1.037 MB / 0.8206 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.5008, allocations: 1.094 kB / 0.8206 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005503/0.5014, allocations: 163 kB / 0.8208 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.5016, allocations: 123.8 kB / 0.8209 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.502, allocations: 159.7 kB / 0.8211 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.5022, allocations: 162.2 kB / 0.8212 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.407e-05/0.5023, allocations: 15.12 kB / 0.8212 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.596e-05/0.5024, allocations: 75.98 kB / 0.8213 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.5025, allocations: 69.59 kB / 0.8214 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.5025, allocations: 7.688 kB / 0.8214 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.5026, allocations: 70.31 kB / 0.8215 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.5027, allocations: 50.08 kB / 0.8215 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/0.5028, allocations: 58.52 kB / 0.8216 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.503, allocations: 196.2 kB / 0.8217 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.503, allocations: 1.219 kB / 0.8217 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.503, allocations: 0 / 0.8217 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.5031, allocations: 0 / 0.8217 GB, free: 4.98 MB / 0.5762 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.0006075/0.5037, allocations: 0.4902 MB / 0.8222 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.5037, allocations: 9 kB / 0.8222 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.5037, allocations: 21.23 kB / 0.8223 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.504, allocations: 253.9 kB / 0.8225 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.504, allocations: 1.812 kB / 0.8225 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.504, allocations: 12.25 kB / 0.8225 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.5042, allocations: 91.05 kB / 0.8226 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.5042, allocations: 0 / 0.8226 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.5042, allocations: 2.094 kB / 0.8226 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.5042, allocations: 2.406 kB / 0.8226 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.425e-05/0.5043, allocations: 40.25 kB / 0.8226 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.5047, allocations: 354.4 kB / 0.823 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.5049, allocations: 67.47 kB / 0.823 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.5049, allocations: 31.61 kB / 0.8231 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.505, allocations: 7.531 kB / 0.8231 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.5051, allocations: 86.3 kB / 0.8232 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.5051, allocations: 0 / 0.8232 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003016/0.5054, allocations: 144 kB / 0.8233 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.5054, allocations: 85.41 kB / 0.8234 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.5056, allocations: 256.3 kB / 0.8236 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.5057, allocations: 29.7 kB / 0.8237 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.5057, allocations: 118.8 kB / 0.8238 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.5057, allocations: 24.47 kB / 0.8238 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.5058, allocations: 30.48 kB / 0.8238 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.5058, allocations: 333.4 kB / 0.8241 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-05/0.5059, allocations: 26.53 kB / 0.8242 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.117e-05/0.506, allocations: 52.86 kB / 0.8242 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.5061, allocations: 78 kB / 0.8243 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5061, allocations: 0 / 0.8243 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001671/0.5062, allocations: 123.2 kB / 0.8244 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.5062, allocations: 5.625 kB / 0.8244 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5063, allocations: 0.75 kB / 0.8244 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5063, allocations: 2.625 kB / 0.8244 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.5063, allocations: 9.281 kB / 0.8244 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5063, allocations: 7.359 kB / 0.8244 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.5064, allocations: 19.23 kB / 0.8244 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.5064, allocations: 3.297 kB / 0.8244 GB, free: 2.715 MB / 0.5762 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 9.084e-05/0.5065, allocations: 136.2 kB / 0.8246 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.5065, allocations: 18.61 kB / 0.8246 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.5066, allocations: 24.39 kB / 0.8246 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.5066, allocations: 7.594 kB / 0.8246 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5066, allocations: 0.75 kB / 0.8246 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5066, allocations: 3.938 kB / 0.8246 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.5067, allocations: 227.9 kB / 0.8248 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5067, allocations: 0.8438 kB / 0.8248 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/0.5067, allocations: 2.469 kB / 0.8249 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5067, allocations: 0.5625 kB / 0.8249 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.5068, allocations: 7.25 kB / 0.8249 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5068, allocations: 0 / 0.8249 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5068, allocations: 0.5156 kB / 0.8249 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.507, allocations: 145.7 kB / 0.825 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.507, allocations: 99.53 kB / 0.8251 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.507, allocations: 4.562 kB / 0.8251 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.668e-05/0.5071, allocations: 3.75 kB / 0.8251 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.5071, allocations: 4.641 kB / 0.8251 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.5071, allocations: 11.44 kB / 0.8251 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001443/0.5073, allocations: 190.6 kB / 0.8253 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5073, allocations: 3.781 kB / 0.8253 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002269/0.5075, allocations: 25.25 kB / 0.8253 GB, free: 2.012 MB / 0.5762 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.001412/0.5089, allocations: 439.8 kB / 0.8257 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.5091, allocations: 72.91 kB / 0.8258 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5091, allocations: 0 / 0.8258 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.029e-05/0.5092, allocations: 33.55 kB / 0.8258 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.5094, allocations: 33.84 kB / 0.8259 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.5099, allocations: 341.6 kB / 0.8262 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.5101, allocations: 0.7215 MB / 0.8269 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.5101, allocations: 18.7 kB / 0.8269 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5101, allocations: 0 / 0.8269 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of Templates: time 0.00468/0.5148, allocations: 2.57 MB / 0.8294 GB, free: 0.5273 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.596262954175472] Failed to read output from testmodel.py, exit status != 0: 0.5224357398692518 0.534542677 0.028865974000000003 Calling exit ...