Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009175/0.009175, allocations: 100.2 kB / 15.73 MB, free: 6.047 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.001894/0.001894, allocations: 183.2 kB / 16.67 MB, free: 5.977 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7648/0.7648, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4382, allocations: 80.21 MB / 0.6592 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002879/0.4411, allocations: 1.776 MB / 0.6609 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.4427, allocations: 1.021 MB / 0.6619 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.155e-05/0.4428, allocations: 9.062 kB / 0.6619 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006899/0.4435, allocations: 163.8 kB / 0.6621 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.4438, allocations: 111.4 kB / 0.6622 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.4443, allocations: 170.3 kB / 0.6624 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.4445, allocations: 174.9 kB / 0.6625 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.4447, allocations: 22.03 kB / 0.6625 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.4448, allocations: 64.53 kB / 0.6626 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.4449, allocations: 70.17 kB / 0.6627 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.4449, allocations: 7.625 kB / 0.6627 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.4451, allocations: 64.33 kB / 0.6627 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.4452, allocations: 43.5 kB / 0.6628 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.4452, allocations: 60.14 kB / 0.6628 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.4455, allocations: 205.1 kB / 0.663 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4456, allocations: 0 / 0.663 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4456, allocations: 0 / 0.663 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4456, allocations: 0 / 0.663 GB, free: 7.406 MB / 0.4981 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.0006191/0.4462, allocations: 495 kB / 0.6635 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.4462, allocations: 13.22 kB / 0.6635 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.65e-05/0.4463, allocations: 37.59 kB / 0.6636 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.4463, allocations: 17 kB / 0.6636 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.4465, allocations: 252.8 kB / 0.6638 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4466, allocations: 1.438 kB / 0.6638 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.4466, allocations: 11.38 kB / 0.6638 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.4468, allocations: 91.66 kB / 0.6639 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4468, allocations: 0 / 0.6639 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4468, allocations: 1.312 kB / 0.6639 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.4468, allocations: 2.844 kB / 0.6639 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.4469, allocations: 38.55 kB / 0.664 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.4473, allocations: 363.9 kB / 0.6643 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.4475, allocations: 70.05 kB / 0.6644 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/0.4476, allocations: 37.34 kB / 0.6644 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.4476, allocations: 1.406 kB / 0.6644 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.4477, allocations: 85.47 kB / 0.6645 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.4477, allocations: 0 / 0.6645 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000297/0.448, allocations: 148.3 kB / 0.6646 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.4481, allocations: 78.23 kB / 0.6647 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.4483, allocations: 268.8 kB / 0.665 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.4484, allocations: 30.86 kB / 0.665 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.4484, allocations: 112.5 kB / 0.6651 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.4485, allocations: 27.52 kB / 0.6651 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.4485, allocations: 30.77 kB / 0.6652 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.4486, allocations: 328.2 kB / 0.6655 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.4486, allocations: 26.16 kB / 0.6655 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-05/0.4487, allocations: 61.64 kB / 0.6655 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4488, allocations: 80.61 kB / 0.6656 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4489, allocations: 4 kB / 0.6656 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002238/0.4491, allocations: 115.7 kB / 0.6657 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.4491, allocations: 5.312 kB / 0.6657 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4491, allocations: 0 / 0.6657 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4491, allocations: 1.344 kB / 0.6657 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.4492, allocations: 13.14 kB / 0.6658 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.4492, allocations: 5 kB / 0.6658 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.4493, allocations: 11.59 kB / 0.6658 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.4493, allocations: 10.72 kB / 0.6658 GB, free: 4.93 MB / 0.4981 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.0001064/0.4494, allocations: 140.3 kB / 0.6659 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.4495, allocations: 19.55 kB / 0.6659 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.4495, allocations: 19.78 kB / 0.666 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.4495, allocations: 2.875 kB / 0.666 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4495, allocations: 0 / 0.666 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4495, allocations: 7.922 kB / 0.666 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.4497, allocations: 219.4 kB / 0.6662 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4497, allocations: 4 kB / 0.6662 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.4497, allocations: 3.344 kB / 0.6662 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4497, allocations: 1.156 kB / 0.6662 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.4498, allocations: 1.219 kB / 0.6662 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4498, allocations: 0 / 0.6662 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4498, allocations: 1.5 kB / 0.6662 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.45, allocations: 153.6 kB / 0.6663 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.45, allocations: 93.52 kB / 0.6664 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.4501, allocations: 5.219 kB / 0.6664 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.901e-05/0.4501, allocations: 10.67 kB / 0.6664 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.4502, allocations: 6.562 kB / 0.6664 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4502, allocations: 3.781 kB / 0.6664 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001487/0.4503, allocations: 197.1 kB / 0.6666 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4503, allocations: 3.938 kB / 0.6666 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002536/0.4506, allocations: 30.78 kB / 0.6667 GB, free: 4.148 MB / 0.4981 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.001204/0.4518, allocations: 0.9941 MB / 0.6676 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.452, allocations: 75.88 kB / 0.6677 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.452, allocations: 0 / 0.6677 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.4521, allocations: 37.8 kB / 0.6677 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.4524, allocations: 44.72 kB / 0.6678 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.4541, allocations: 1.968 MB / 0.6697 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.4543, allocations: 0.7189 MB / 0.6704 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.466e-05/0.4544, allocations: 26.12 kB / 0.6704 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.4545, allocations: 44.95 kB / 0.6705 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4545, allocations: 0 / 0.6705 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.4767, allocations: 4.547 MB / 0.6749 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/8.092, allocations: 12.58 kB / 0.6749 GB, free: 14.69 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)