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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IDEAS_dev_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.005395/0.005395, allocations: 102.2 kB / 15.73 MB, free: 6.031 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.00126/0.00126, allocations: 197.6 kB / 16.67 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9504/0.9504, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.91 kB / 0.5851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4956, allocations: 80.92 MB / 0.6642 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002896/0.4985, allocations: 1.779 MB / 0.6659 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.5, allocations: 1.023 MB / 0.6669 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.257e-05/0.5001, allocations: 0 / 0.6669 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006261/0.5007, allocations: 166.5 kB / 0.6671 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.501, allocations: 104.4 kB / 0.6672 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.5014, allocations: 181.8 kB / 0.6673 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.5016, allocations: 164.2 kB / 0.6675 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.5017, allocations: 33.41 kB / 0.6675 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.5018, allocations: 62.55 kB / 0.6676 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.502, allocations: 73.91 kB / 0.6677 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.502, allocations: 6.688 kB / 0.6677 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.5021, allocations: 64.98 kB / 0.6677 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.5022, allocations: 38.38 kB / 0.6678 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.378e-05/0.5023, allocations: 69.27 kB / 0.6678 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.5025, allocations: 197.3 kB / 0.668 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5025, allocations: 0 / 0.668 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5026, allocations: 0 / 0.668 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5026, allocations: 5.062 kB / 0.668 GB, free: 4.348 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.0006149/0.5032, allocations: 0.4909 MB / 0.6685 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.5032, allocations: 9.812 kB / 0.6685 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.5033, allocations: 37.44 kB / 0.6685 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.5033, allocations: 15.56 kB / 0.6686 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.5036, allocations: 244.1 kB / 0.6688 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.5037, allocations: 3 kB / 0.6688 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.5037, allocations: 10.59 kB / 0.6688 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.5039, allocations: 93 kB / 0.6689 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.5039, allocations: 0 / 0.6689 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.5039, allocations: 0 / 0.6689 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.504, allocations: 3.062 kB / 0.6689 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.953e-05/0.5041, allocations: 35.39 kB / 0.6689 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.5045, allocations: 358.6 kB / 0.6693 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.5047, allocations: 79.86 kB / 0.6693 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/0.5048, allocations: 32 kB / 0.6694 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.5049, allocations: 1.094 kB / 0.6694 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.505, allocations: 81.39 kB / 0.6695 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.675e-06/0.505, allocations: 7.938 kB / 0.6695 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003916/0.5054, allocations: 140.4 kB / 0.6696 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.5055, allocations: 82.47 kB / 0.6697 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.5057, allocations: 264.1 kB / 0.6699 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.5057, allocations: 35.92 kB / 0.67 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.704e-05/0.5058, allocations: 115.5 kB / 0.6701 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.5058, allocations: 19.94 kB / 0.6701 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.5059, allocations: 35.06 kB / 0.6701 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.527e-05/0.5059, allocations: 331.3 kB / 0.6704 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.506, allocations: 28.3 kB / 0.6705 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-05/0.5061, allocations: 56.91 kB / 0.6705 GB, free: 2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.5062, allocations: 72.2 kB / 0.6706 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5062, allocations: 0 / 0.6706 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001828/0.5064, allocations: 122.5 kB / 0.6707 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.5064, allocations: 5.344 kB / 0.6707 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5065, allocations: 1.5 kB / 0.6707 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5065, allocations: 1.5 kB / 0.6707 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.513e-05/0.5066, allocations: 13.36 kB / 0.6707 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.5066, allocations: 0 / 0.6707 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.5066, allocations: 19.73 kB / 0.6707 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5066, allocations: 6.906 kB / 0.6708 GB, free: 1.855 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 9.883e-05/0.5067, allocations: 142.6 kB / 0.6709 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.5068, allocations: 18.25 kB / 0.6709 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.5068, allocations: 19.77 kB / 0.6709 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.5068, allocations: 3.812 kB / 0.6709 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5068, allocations: 4 kB / 0.6709 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5069, allocations: 3.938 kB / 0.6709 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.507, allocations: 215.1 kB / 0.6711 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.507, allocations: 3.938 kB / 0.6711 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.878e-05/0.507, allocations: 3.875 kB / 0.6711 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.507, allocations: 5.516 kB / 0.6712 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.5071, allocations: 8 kB / 0.6712 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5071, allocations: 1.219 kB / 0.6712 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5071, allocations: 160 / 0.6712 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.5073, allocations: 150.3 kB / 0.6713 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.5073, allocations: 98.06 kB / 0.6714 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.5074, allocations: 5.5 kB / 0.6714 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.58e-05/0.5074, allocations: 2.438 kB / 0.6714 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.5075, allocations: 14.36 kB / 0.6714 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.5075, allocations: 2.625 kB / 0.6714 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001513/0.5076, allocations: 194.5 kB / 0.6716 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5076, allocations: 0 / 0.6716 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002403/0.5079, allocations: 33.83 kB / 0.6716 GB, free: 1.07 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.001359/0.5092, allocations: 0.9921 MB / 0.6726 GB, free: 328 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.5095, allocations: 71.06 kB / 0.6727 GB, free: 300 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5095, allocations: 0 / 0.6727 GB, free: 300 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.5096, allocations: 38.73 kB / 0.6727 GB, free: 284 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.5099, allocations: 44.7 kB / 0.6728 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.5121, allocations: 1.966 MB / 0.6747 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.5124, allocations: 0.7275 MB / 0.6754 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.631e-05/0.5125, allocations: 22.56 kB / 0.6754 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.5126, allocations: 43.92 kB / 0.6754 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.5126, allocations: 5.094 kB / 0.6755 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.5359, allocations: 4.561 MB / 0.6799 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/8.127, allocations: 9 kB / 0.6799 GB, free: 11.54 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)