Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7128/0.7128, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 180.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.1 MB / 404.5 MB, free: 1.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000945/0.000945, allocations: 82.36 kB / 481.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.562e-05/6.609e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1809, allocations: 76.76 MB / 0.6282 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6023/0.7832, allocations: 106.5 MB / 0.7323 GB, free: 6.879 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.7835, allocations: 78.64 kB / 0.7323 GB, free: 6.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.7984, allocations: 5.421 MB / 0.7376 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7984, allocations: 0 / 0.7376 GB, free: 2.273 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.7985, allocations: 8 kB / 0.7376 GB, free: 2.266 MB / 490.7 MB 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.000571/0.799, allocations: 462.5 kB / 0.7381 GB, free: 1.773 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.7991, allocations: 16.02 kB / 0.7381 GB, free: 1.758 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.347e-05/0.7992, allocations: 37.88 kB / 0.7381 GB, free: 1.715 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.7992, allocations: 15.77 kB / 0.7381 GB, free: 1.699 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.7996, allocations: 248.9 kB / 0.7384 GB, free: 1.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.7996, allocations: 7.812 kB / 0.7384 GB, free: 1.426 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.7997, allocations: 4 kB / 0.7384 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.7998, allocations: 87.98 kB / 0.7385 GB, free: 1.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.7999, allocations: 0 / 0.7385 GB, free: 1.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.7999, allocations: 4 kB / 0.7385 GB, free: 1.336 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.7999, allocations: 4 kB / 0.7385 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.957e-05/0.8, allocations: 42.31 kB / 0.7385 GB, free: 1.301 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.8005, allocations: 355.5 kB / 0.7389 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.8007, allocations: 80.11 kB / 0.7389 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.8008, allocations: 40.16 kB / 0.739 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.8008, allocations: 0 / 0.739 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.8009, allocations: 79.39 kB / 0.7391 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.801, allocations: 3.938 kB / 0.7391 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002583/0.8012, allocations: 118 kB / 0.7392 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.8013, allocations: 77.11 kB / 0.7392 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.8016, allocations: 242.6 kB / 0.7395 GB, free: 372 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.8016, allocations: 25.7 kB / 0.7395 GB, free: 340 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.8017, allocations: 116.9 kB / 0.7396 GB, free: 244 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.8017, allocations: 23.58 kB / 0.7396 GB, free: 224 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.8017, allocations: 4 kB / 0.7396 GB, free: 220 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.8019, allocations: 326.3 kB / 0.74 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.802, allocations: 26.73 kB / 0.74 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.561e-05/0.802, allocations: 64.17 kB / 0.74 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.872e-05/0.8021, allocations: 38.33 kB / 0.7401 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8021, allocations: 0 / 0.7401 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001586/0.8023, allocations: 114.7 kB / 0.7402 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.8023, allocations: 4 kB / 0.7402 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.8023, allocations: 8 kB / 0.7402 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.8023, allocations: 3.953 kB / 0.7402 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.8024, allocations: 8 kB / 0.7402 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8025, allocations: 4.062 kB / 0.7402 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.8025, allocations: 19.59 kB / 0.7402 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.8025, allocations: 3.984 kB / 0.7402 GB, free: 15.64 MB / 0.4948 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.299e-05/0.8026, allocations: 114.3 kB / 0.7403 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.8027, allocations: 15.81 kB / 0.7404 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.8029, allocations: 124.8 kB / 0.7405 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.8029, allocations: 7.953 kB / 0.7405 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.803, allocations: 0 / 0.7405 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.803, allocations: 4 kB / 0.7405 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.8032, allocations: 230.6 kB / 0.7407 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8032, allocations: 0 / 0.7407 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.8032, allocations: 4 kB / 0.7407 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8033, allocations: 0 / 0.7407 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.8033, allocations: 3.25 kB / 0.7407 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.8033, allocations: 4 kB / 0.7407 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.8033, allocations: 7.891 kB / 0.7407 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.8035, allocations: 150.7 kB / 0.7409 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.319e-05/0.8036, allocations: 100.7 kB / 0.741 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.8036, allocations: 0 / 0.741 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.422e-05/0.8037, allocations: 4 kB / 0.741 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.8038, allocations: 11.11 kB / 0.741 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.8038, allocations: 11.89 kB / 0.741 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002014/0.804, allocations: 192 kB / 0.7412 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.804, allocations: 3.938 kB / 0.7412 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00024/0.8042, allocations: 39.31 kB / 0.7412 GB, free: 14.65 MB / 0.4948 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.001405/0.8057, allocations: 0.968 MB / 0.7422 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.8059, allocations: 80.66 kB / 0.7422 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8059, allocations: 0 / 0.7422 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.042e-05/0.806, allocations: 38.52 kB / 0.7423 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.8062, allocations: 39.2 kB / 0.7423 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.8068, allocations: 309.4 kB / 0.7426 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.8071, allocations: 0.731 MB / 0.7433 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.832e-05/0.8072, allocations: 25.2 kB / 0.7433 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.731e-05/0.8073, allocations: 48.36 kB / 0.7434 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/0.8073, allocations: 0 / 0.7434 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.8244, allocations: 4.081 MB / 0.7474 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.8247, allocations: 197.7 kB / 0.7476 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.566, allocations: 2.953 kB / 0.7476 GB, free: 8.367 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)