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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, 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.7595/0.7595, allocations: 133.6 MB / 141.6 MB, free: 2.871 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.432/1.432, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.0007998/0.0008, allocations: 98 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.767e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.455, allocations: 82.31 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.6181, allocations: 115 MB / 0.7463 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.6184, allocations: 75.95 kB / 0.7463 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0151/0.6335, allocations: 5.509 MB / 0.7517 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6336, allocations: 4 kB / 0.7517 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.763e-05/0.6336, allocations: 4 kB / 0.7517 GB, free: 2.07 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.0005944/0.6342, allocations: 467.6 kB / 0.7522 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.6342, allocations: 12.03 kB / 0.7522 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.6343, allocations: 19.81 kB / 0.7522 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.6347, allocations: 255.5 kB / 0.7524 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.6348, allocations: 4 kB / 0.7524 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.6348, allocations: 4 kB / 0.7524 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001043/0.6349, allocations: 27.98 kB / 0.7525 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.6351, allocations: 87.27 kB / 0.7525 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.6351, allocations: 3.938 kB / 0.7526 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.6351, allocations: 0 / 0.7526 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.6351, allocations: 8 kB / 0.7526 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.6357, allocations: 341.3 kB / 0.7529 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.6358, allocations: 66.69 kB / 0.753 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.088e-05/0.6359, allocations: 32.91 kB / 0.753 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.6359, allocations: 4.031 kB / 0.753 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.6361, allocations: 79.39 kB / 0.7531 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.6361, allocations: 0 / 0.7531 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0003249/0.6364, allocations: 113.4 kB / 0.7532 GB, free: 412 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.6365, allocations: 81.09 kB / 0.7532 GB, free: 312 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.6368, allocations: 229.9 kB / 0.7535 GB, free: 72 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.6369, allocations: 29.69 kB / 0.7535 GB, free: 36 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.637, allocations: 116.1 kB / 0.7536 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.637, allocations: 27.66 kB / 0.7536 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.637, allocations: 0 / 0.7536 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6371, allocations: 334.8 kB / 0.754 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.6372, allocations: 23.98 kB / 0.754 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.381e-05/0.6373, allocations: 55.42 kB / 0.754 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.289e-05/0.6374, allocations: 29.17 kB / 0.7541 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6374, allocations: 8.125 kB / 0.7541 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001852/0.6376, allocations: 113.4 kB / 0.7542 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.6376, allocations: 4 kB / 0.7542 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6376, allocations: 0 / 0.7542 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6376, allocations: 0 / 0.7542 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.6377, allocations: 19.92 kB / 0.7542 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.6377, allocations: 112 / 0.7542 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.367e-05/0.6378, allocations: 7.938 kB / 0.7542 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.6378, allocations: 4 kB / 0.7542 GB, free: 15.28 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 0.0001076/0.6379, allocations: 122.3 kB / 0.7543 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001781/0.6381, allocations: 121.4 kB / 0.7544 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.6381, allocations: 11.81 kB / 0.7544 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.6384, allocations: 119.5 kB / 0.7546 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.6384, allocations: 4 kB / 0.7546 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6384, allocations: 0 / 0.7546 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.6384, allocations: 3.953 kB / 0.7546 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.6386, allocations: 206 kB / 0.7548 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6386, allocations: 4 kB / 0.7548 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.6387, allocations: 4 kB / 0.7548 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6387, allocations: 0 / 0.7548 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.6387, allocations: 7.984 kB / 0.7548 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6387, allocations: 0 / 0.7548 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.6387, allocations: 4 kB / 0.7548 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.6389, allocations: 144.8 kB / 0.7549 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.639, allocations: 100.9 kB / 0.755 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.6391, allocations: 4 kB / 0.755 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-05/0.6391, allocations: 11.98 kB / 0.755 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.6392, allocations: 0 / 0.755 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.6392, allocations: 4 kB / 0.755 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001775/0.6394, allocations: 187 kB / 0.7552 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6394, allocations: 0 / 0.7552 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002601/0.6396, allocations: 39.92 kB / 0.7553 GB, free: 14.11 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.001249/0.6409, allocations: 0.9556 MB / 0.7562 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.6411, allocations: 71.92 kB / 0.7563 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6411, allocations: 0 / 0.7563 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.6412, allocations: 40.05 kB / 0.7563 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.6414, allocations: 32.84 kB / 0.7563 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.642, allocations: 282.8 kB / 0.7566 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.6424, allocations: 0.7318 MB / 0.7573 GB, free: 12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.045e-05/0.6425, allocations: 29.44 kB / 0.7573 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.934e-05/0.6426, allocations: 55.41 kB / 0.7574 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.6426, allocations: 0 / 0.7574 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.6682, allocations: 3.622 MB / 0.7609 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.6685, allocations: 163.6 kB / 0.7611 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.293, allocations: 0 / 0.7611 GB, free: 8.129 MB / 0.5417 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/linux/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)