Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9864/0.9864, allocations: 133.6 MB / 141.6 MB, free: 2.926 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009078/0.0009075, allocations: 101.6 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.371e-05/2.391e-05, allocations: 8 kB / 0.5535 GB, free: 9.047 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5635/0.5635, allocations: 82.3 MB / 0.6338 GB, free: 40.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.7276, allocations: 115 MB / 0.7462 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.7279, allocations: 79.95 kB / 0.7462 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01511/0.7431, allocations: 5.505 MB / 0.7516 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7431, allocations: 0 / 0.7516 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.7431, allocations: 4 kB / 0.7516 GB, free: 2.164 MB / 0.5261 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.0005792/0.7437, allocations: 467.7 kB / 0.7521 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7438, allocations: 12.03 kB / 0.7521 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.7438, allocations: 15.81 kB / 0.7521 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.7442, allocations: 259.6 kB / 0.7523 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.7443, allocations: 0 / 0.7523 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.7443, allocations: 4 kB / 0.7523 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.754e-05/0.7444, allocations: 31.98 kB / 0.7524 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.7445, allocations: 83.27 kB / 0.7525 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.7446, allocations: 4 kB / 0.7525 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.7446, allocations: 8 kB / 0.7525 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.7446, allocations: 7.984 kB / 0.7525 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.7451, allocations: 333.3 kB / 0.7528 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.7453, allocations: 70.61 kB / 0.7529 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.7453, allocations: 32.92 kB / 0.7529 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.7453, allocations: 0 / 0.7529 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.7455, allocations: 75.39 kB / 0.753 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.7455, allocations: 3.938 kB / 0.753 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0002642/0.7458, allocations: 117.5 kB / 0.7531 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.7458, allocations: 77.11 kB / 0.7531 GB, free: 412 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.7461, allocations: 233.8 kB / 0.7534 GB, free: 168 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.7461, allocations: 33.7 kB / 0.7534 GB, free: 128 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.7462, allocations: 112.1 kB / 0.7535 GB, free: 12 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.7463, allocations: 31.81 kB / 0.7535 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.7463, allocations: 0 / 0.7535 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7464, allocations: 334.6 kB / 0.7539 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.237e-05/0.7465, allocations: 20 kB / 0.7539 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.7465, allocations: 55.42 kB / 0.7539 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.05e-05/0.7466, allocations: 41.14 kB / 0.754 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7466, allocations: 0 / 0.754 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001851/0.7468, allocations: 105.5 kB / 0.7541 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.7469, allocations: 4 kB / 0.7541 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7469, allocations: 0 / 0.7541 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.7469, allocations: 7.938 kB / 0.7541 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.747, allocations: 11.98 kB / 0.7541 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.747, allocations: 112 / 0.7541 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/0.7471, allocations: 7.969 kB / 0.7541 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.7471, allocations: 8 kB / 0.7541 GB, free: 15.37 MB / 0.5417 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.801e-05/0.7472, allocations: 118.3 kB / 0.7542 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.7472, allocations: 15.81 kB / 0.7542 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.7474, allocations: 123.6 kB / 0.7544 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.7475, allocations: 4 kB / 0.7544 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.7475, allocations: 96 / 0.7544 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7475, allocations: 3.938 kB / 0.7544 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.7477, allocations: 206.1 kB / 0.7546 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7477, allocations: 4 kB / 0.7546 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.7477, allocations: 4 kB / 0.7546 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7477, allocations: 4 kB / 0.7546 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.7478, allocations: 3.984 kB / 0.7546 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7478, allocations: 0 / 0.7546 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7478, allocations: 80 / 0.7546 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.748, allocations: 152.7 kB / 0.7547 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.7481, allocations: 100.9 kB / 0.7548 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.7481, allocations: 8 kB / 0.7548 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.7482, allocations: 11.98 kB / 0.7548 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.7482, allocations: 11.92 kB / 0.7548 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.7483, allocations: 4 kB / 0.7549 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001745/0.7484, allocations: 183 kB / 0.755 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7484, allocations: 0 / 0.755 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000263/0.7487, allocations: 43.92 kB / 0.7551 GB, free: 14.3 MB / 0.5417 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000824/0.7495, allocations: 359.5 kB / 0.7554 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.7497, allocations: 79.91 kB / 0.7555 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7497, allocations: 0 / 0.7555 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.151e-05/0.7498, allocations: 32 kB / 0.7555 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.7501, allocations: 31.92 kB / 0.7555 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.7505, allocations: 225.2 kB / 0.7558 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.7508, allocations: 0.7318 MB / 0.7565 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.522e-05/0.7509, allocations: 25.2 kB / 0.7565 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.751, allocations: 15.44 kB / 0.7565 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of SimCode: time 1.643e-06/0.751, allocations: 4 kB / 0.7565 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.004964/0.7559, allocations: 2.115 MB / 0.7586 GB, free: 10.75 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)