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.00131/0.00131, allocations: 119.1 kB / 17.08 MB, free: 5.969 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.001117/0.001117, allocations: 196.7 kB / 18.02 MB, free: 5.047 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.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.759/0.759, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 65.72 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.186, allocations: 76.18 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003609/0.1897, allocations: 1.772 MB / 0.6345 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.1916, allocations: 1.026 MB / 0.6355 GB, free: 1.566 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.1918, allocations: 7.938 kB / 0.6355 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007377/0.1925, allocations: 163.5 kB / 0.6356 GB, free: 1.398 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.1929, allocations: 107.6 kB / 0.6357 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.1935, allocations: 178.4 kB / 0.6359 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.1938, allocations: 163.6 kB / 0.6361 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.1939, allocations: 25.09 kB / 0.6361 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.1941, allocations: 67.7 kB / 0.6362 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.1942, allocations: 67.75 kB / 0.6362 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.1942, allocations: 8 kB / 0.6362 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1944, allocations: 67.89 kB / 0.6363 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.1945, allocations: 35.91 kB / 0.6363 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1946, allocations: 59.61 kB / 0.6364 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.195, allocations: 207.3 kB / 0.6366 GB, free: 444 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.195, allocations: 0 / 0.6366 GB, free: 444 kB / 478.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.195, allocations: 0 / 0.6366 GB, free: 444 kB / 478.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.1951, allocations: 7.938 kB / 0.6366 GB, free: 436 kB / 478.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.0008654/0.1959, allocations: 488.3 kB / 0.637 GB, free: 15.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.196, allocations: 12.03 kB / 0.6371 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.41e-05/0.1961, allocations: 16.75 kB / 0.6371 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.1964, allocations: 244.9 kB / 0.6373 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.1965, allocations: 16.31 kB / 0.6373 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1965, allocations: 8.125 kB / 0.6373 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.1968, allocations: 83.38 kB / 0.6374 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1968, allocations: 0 / 0.6374 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1968, allocations: 7.938 kB / 0.6374 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.1969, allocations: 4 kB / 0.6374 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.197, allocations: 39.97 kB / 0.6375 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.1976, allocations: 356.6 kB / 0.6378 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1978, allocations: 70.67 kB / 0.6379 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.212e-05/0.1979, allocations: 32.84 kB / 0.6379 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1979, allocations: 7.938 kB / 0.6379 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.1981, allocations: 83.38 kB / 0.638 GB, free: 14.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.1981, allocations: 0 / 0.638 GB, free: 14.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003519/0.1985, allocations: 149.3 kB / 0.6381 GB, free: 14.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.1985, allocations: 77.11 kB / 0.6382 GB, free: 14.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.1988, allocations: 262.9 kB / 0.6385 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1989, allocations: 29.7 kB / 0.6385 GB, free: 14.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.063e-05/0.1989, allocations: 112.1 kB / 0.6386 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.199, allocations: 27.64 kB / 0.6386 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.1991, allocations: 37.69 kB / 0.6387 GB, free: 14.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1992, allocations: 334.8 kB / 0.639 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.651e-05/0.1993, allocations: 23.98 kB / 0.639 GB, free: 13.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.277e-05/0.1994, allocations: 55.42 kB / 0.639 GB, free: 13.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1995, allocations: 73.62 kB / 0.6391 GB, free: 13.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1995, allocations: 4.031 kB / 0.6391 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002077/0.1997, allocations: 113.4 kB / 0.6392 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1998, allocations: 7.984 kB / 0.6392 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1998, allocations: 0 / 0.6392 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1998, allocations: 4 kB / 0.6392 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.1999, allocations: 8 kB / 0.6392 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1999, allocations: 112 / 0.6392 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.2, allocations: 16.25 kB / 0.6393 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.2, allocations: 4 kB / 0.6393 GB, free: 13.41 MB / 494.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 0.0001353/0.2001, allocations: 153.7 kB / 0.6394 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.2002, allocations: 15.81 kB / 0.6394 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.2002, allocations: 21.34 kB / 0.6395 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.2002, allocations: 3.984 kB / 0.6395 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2003, allocations: 0 / 0.6395 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2003, allocations: 7.938 kB / 0.6395 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.2005, allocations: 217.5 kB / 0.6397 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2005, allocations: 0 / 0.6397 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.2005, allocations: 12 kB / 0.6397 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2005, allocations: 0 / 0.6397 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.2006, allocations: 0 / 0.6397 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2006, allocations: 0 / 0.6397 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2006, allocations: 8 kB / 0.6397 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.2008, allocations: 148.8 kB / 0.6398 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.2009, allocations: 88.92 kB / 0.6399 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.2009, allocations: 4 kB / 0.6399 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.201, allocations: 11.98 kB / 0.6399 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.201, allocations: 4 kB / 0.6399 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.201, allocations: 11.92 kB / 0.6399 GB, free: 12.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.2012, allocations: 204.1 kB / 0.6401 GB, free: 12.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2012, allocations: 0 / 0.6401 GB, free: 12.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.2015, allocations: 28 kB / 0.6402 GB, free: 12.38 MB / 494.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.001012/0.2025, allocations: 431.4 kB / 0.6406 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.2028, allocations: 79.91 kB / 0.6407 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.2028, allocations: 0 / 0.6407 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.2029, allocations: 39.92 kB / 0.6407 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.2032, allocations: 38.11 kB / 0.6407 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005805/0.2038, allocations: 324.8 kB / 0.641 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.2041, allocations: 0.7241 MB / 0.6417 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.2041, allocations: 19.44 kB / 0.6418 GB, free: 10.85 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2041, allocations: 0 / 0.6418 GB, free: 10.85 MB / 494.1 MB Notification: Performance of Templates: time 0.004975/0.2091, allocations: 2.583 MB / 0.6443 GB, free: 8.281 MB / 494.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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)