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: "" <> 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/Complex 4.0.0+maint.om/package.mo): time 0.006293/0.006293, allocations: 170.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7507/0.7507, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.0008978/0.0008974, allocations: 96.92 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003726, allocations: 15.98 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.4679, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2154/0.6834, allocations: 115.7 MB / 0.7626 GB, free: 224 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.6837, allocations: 79.95 kB / 0.7626 GB, free: 144 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02134/0.7051, allocations: 5.574 MB / 0.7681 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7051, allocations: 0 / 0.7681 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.705e-05/0.7052, allocations: 8 kB / 0.7681 GB, free: 10.55 MB / 0.5417 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.0008676/0.7061, allocations: 496.1 kB / 0.7686 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.7061, allocations: 12.03 kB / 0.7686 GB, free: 10 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.7062, allocations: 42.56 kB / 0.7686 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/0.7063, allocations: 15.81 kB / 0.7686 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.7068, allocations: 247.6 kB / 0.7689 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.7069, allocations: 8 kB / 0.7689 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.7069, allocations: 3.984 kB / 0.7689 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.7071, allocations: 87.38 kB / 0.769 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.7072, allocations: 4 kB / 0.769 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.7072, allocations: 11.92 kB / 0.769 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.7072, allocations: 0 / 0.769 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.7074, allocations: 31.98 kB / 0.769 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/0.7081, allocations: 360.8 kB / 0.7694 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.7083, allocations: 82.61 kB / 0.7694 GB, free: 9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.7084, allocations: 0 / 0.7694 GB, free: 9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.7086, allocations: 83.44 kB / 0.7695 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 4.699e-06/0.7086, allocations: 3.984 kB / 0.7695 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0005397/0.7092, allocations: 228.1 kB / 0.7697 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.7092, allocations: 85 kB / 0.7698 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.7097, allocations: 249.9 kB / 0.7701 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.7097, allocations: 37.62 kB / 0.7701 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.6e-05/0.7098, allocations: 116.1 kB / 0.7702 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.7099, allocations: 23.7 kB / 0.7702 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.7099, allocations: 0 / 0.7702 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.7101, allocations: 330.8 kB / 0.7705 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.7102, allocations: 27.98 kB / 0.7706 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.7103, allocations: 63.34 kB / 0.7706 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.91e-05/0.7104, allocations: 32.03 kB / 0.7707 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.7104, allocations: 4 kB / 0.7707 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00029/0.7107, allocations: 113.4 kB / 0.7708 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.7108, allocations: 8.922 kB / 0.7708 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7108, allocations: 4 kB / 0.7708 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.7108, allocations: 0 / 0.7708 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.7109, allocations: 8 kB / 0.7708 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.7109, allocations: 0 / 0.7708 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/0.711, allocations: 19.92 kB / 0.7708 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.7111, allocations: 3.984 kB / 0.7708 GB, free: 7.492 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.7112, allocations: 149.8 kB / 0.771 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.7113, allocations: 15.81 kB / 0.771 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.7116, allocations: 127 kB / 0.7711 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.7116, allocations: 4 kB / 0.7711 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7117, allocations: 0 / 0.7711 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.7117, allocations: 7.984 kB / 0.7711 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.712, allocations: 233.4 kB / 0.7713 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.712, allocations: 0 / 0.7713 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.712, allocations: 7.938 kB / 0.7713 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.712, allocations: 0 / 0.7713 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.7121, allocations: 4.094 kB / 0.7713 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.7121, allocations: 7.938 kB / 0.7713 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7121, allocations: 0 / 0.7713 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.7124, allocations: 160.9 kB / 0.7715 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.7125, allocations: 100.9 kB / 0.7716 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.7126, allocations: 8 kB / 0.7716 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.7127, allocations: 7.984 kB / 0.7716 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.7127, allocations: 0 / 0.7716 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.7128, allocations: 4 kB / 0.7716 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002703/0.713, allocations: 192.6 kB / 0.7718 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.61e-07/0.713, allocations: 0 / 0.7718 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004276/0.7135, allocations: 43.88 kB / 0.7718 GB, free: 6.34 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) * 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 (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.001869/0.7154, allocations: 1.02 MB / 0.7728 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.7157, allocations: 79.91 kB / 0.7729 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.7157, allocations: 64 / 0.7729 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.7158, allocations: 47.97 kB / 0.773 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.7162, allocations: 29.67 kB / 0.773 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.7185, allocations: 1.146 MB / 0.7741 GB, free: 4.094 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.719, allocations: 0.7321 MB / 0.7748 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.7192, allocations: 29.36 kB / 0.7748 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.7193, allocations: 47.42 kB / 0.7749 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of SimCode: time 1.393e-06/0.7193, allocations: 0 / 0.7749 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.7416, allocations: 4.104 MB / 0.7789 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.7418, allocations: 205.6 kB / 0.7791 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.447, allocations: 0 / 0.7791 GB, free: 15.05 MB / 0.5573 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/linux/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)