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.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.0007049/0.0007049, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.002034, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001081/0.001081, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002389, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9286/0.9286, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08526/1.014, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] 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.001285/0.001285, allocations: 242 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009324/0.002218, allocations: 467 kB / 244.7 MB, free: 14.19 MB / 250.7 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.7209/0.7209, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06685/0.7877, allocations: 42.4 MB / 426.5 MB, free: 5.957 MB / 410.7 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.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(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 1.542e-06/1.542e-06, allocations: 0 / 427.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.888e-05, allocations: 6.312 kB / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003161/0.003179, allocations: 1.878 MB / 429.7 MB, free: 2.727 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.005051, allocations: 1.173 MB / 430.9 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.005151, allocations: 3.938 kB / 430.9 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.00568, allocations: 155.4 kB / 431 MB, free: 1.387 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.00606, allocations: 159.4 kB / 431.2 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.006473, allocations: 155.4 kB / 431.3 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.006838, allocations: 175.5 kB / 431.5 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.006965, allocations: 17.95 kB / 431.5 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.007254, allocations: 132.5 kB / 431.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.007425, allocations: 67.8 kB / 431.7 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.007453, allocations: 8 kB / 431.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.007704, allocations: 71.81 kB / 431.8 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.007808, allocations: 39.86 kB / 431.8 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.007869, allocations: 23.94 kB / 431.8 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.008267, allocations: 151.4 kB / 432 MB, free: 416 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.709e-05/0.008295, allocations: 0 / 432 MB, free: 416 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.008296, allocations: 0 / 432 MB, free: 416 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.629e-05/0.008323, allocations: 0 / 432 MB, free: 416 kB / 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.1966/0.2049, allocations: 427.1 kB / 432.4 MB, free: 2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2049, allocations: 11.34 kB / 432.4 MB, free: 2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.205, allocations: 14.06 kB / 432.4 MB, free: 2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.2052, allocations: 182.9 kB / 432.6 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.2052, allocations: 2.969 kB / 432.6 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.2052, allocations: 8.062 kB / 432.6 MB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.2053, allocations: 57.59 kB / 432.7 MB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.2053, allocations: 0 / 432.7 MB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.2053, allocations: 13.66 kB / 432.7 MB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.2054, allocations: 2.344 kB / 432.7 MB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.2054, allocations: 14.7 kB / 432.7 MB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.2057, allocations: 197.7 kB / 432.9 MB, free: 1.652 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/0.2058, allocations: 92.41 kB / 433 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.2058, allocations: 16.19 kB / 433 MB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2058, allocations: 2.656 kB / 433 MB, free: 1.574 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.226e-05/0.2059, allocations: 70.88 kB / 433.1 MB, free: 1.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2059, allocations: 0 / 433.1 MB, free: 1.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001267/0.206, allocations: 77.31 kB / 433.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.733e-05/0.206, allocations: 54.44 kB / 433.2 MB, free: 1.426 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2061, allocations: 218.2 kB / 433.4 MB, free: 1.309 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.2062, allocations: 29.77 kB / 433.5 MB, free: 1.277 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.2062, allocations: 106.5 kB / 433.6 MB, free: 17.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.2062, allocations: 21.91 kB / 433.6 MB, free: 17.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.2063, allocations: 27.86 kB / 433.6 MB, free: 17.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.2064, allocations: 330.4 kB / 433.9 MB, free: 16.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.2064, allocations: 16.83 kB / 433.9 MB, free: 16.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.2064, allocations: 57.69 kB / 434 MB, free: 16.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.2065, allocations: 44.19 kB / 434 MB, free: 16.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2065, allocations: 0 / 434 MB, free: 16.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.247e-05/0.2066, allocations: 84.06 kB / 434.1 MB, free: 16.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.2066, allocations: 4.312 kB / 434.1 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2066, allocations: 2.641 kB / 434.1 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.2066, allocations: 3.406 kB / 434.1 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.2066, allocations: 10.03 kB / 434.1 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.2066, allocations: 2.562 kB / 434.1 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.901e-05/0.2067, allocations: 17.86 kB / 434.2 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.2067, allocations: 1.844 kB / 434.2 MB, free: 16.73 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 7.14e-05/0.2068, allocations: 121.8 kB / 434.3 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.2068, allocations: 18.03 kB / 434.3 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.2069, allocations: 73.52 kB / 434.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.2069, allocations: 7.031 kB / 434.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2069, allocations: 1.078 kB / 434.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2069, allocations: 2.812 kB / 434.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.207, allocations: 104.8 kB / 434.5 MB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.207, allocations: 1.25 kB / 434.5 MB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.207, allocations: 5.578 kB / 434.5 MB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.2071, allocations: 18.64 kB / 434.5 MB, free: 16.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.2071, allocations: 9.688 kB / 434.5 MB, free: 16.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2071, allocations: 1.844 kB / 434.5 MB, free: 16.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2071, allocations: 0.6562 kB / 434.5 MB, free: 16.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2071, allocations: 0 / 434.5 MB, free: 16.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.899e-05/0.2071, allocations: 102.2 kB / 434.6 MB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2072, allocations: 5.719 kB / 434.6 MB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.752e-05/0.2072, allocations: 9.312 kB / 434.6 MB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.2072, allocations: 5.125 kB / 434.6 MB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.2072, allocations: 4.562 kB / 434.6 MB, free: 16.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.863e-05/0.2073, allocations: 77.27 kB / 434.7 MB, free: 16.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2073, allocations: 0.6562 kB / 434.7 MB, free: 16.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001538/0.2074, allocations: 36.83 kB / 434.8 MB, free: 16.39 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.001365/0.2088, allocations: 0.5624 MB / 435.3 MB, free: 16.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.2089, allocations: 43.58 kB / 435.4 MB, free: 16.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.2089, allocations: 2.031 kB / 435.4 MB, free: 16.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.209, allocations: 31.16 kB / 435.4 MB, free: 16.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.2091, allocations: 45.56 kB / 435.4 MB, free: 16.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.2096, allocations: 277.6 kB / 435.7 MB, free: 16.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.944e-05/0.2097, allocations: 79.02 kB / 435.8 MB, free: 16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.723e-05/0.2097, allocations: 18.7 kB / 435.8 MB, free: 16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/0.2098, allocations: 73.83 kB / 435.9 MB, free: 15.96 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2098, allocations: 0 / 435.9 MB, free: 15.96 MB / 426.7 MB Notification: Performance of Templates: time 0.005219/0.215, allocations: 2.693 MB / 438.6 MB, free: 15.87 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3951677540317178]