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.7239/0.7239, allocations: 128.7 MB / 143.7 MB, free: 2.312 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 192.2 kB / 173.7 MB, free: 6.121 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.806/1.806, allocations: 205.4 MB / 409 MB, free: 10.5 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.0009641/0.0009639, allocations: 97.33 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 9.969 kB / 0.5604 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1774, allocations: 76.78 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.3284, allocations: 106.6 MB / 0.7395 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.3287, allocations: 87.94 kB / 0.7396 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.38/0.7087, allocations: 5.437 MB / 0.7449 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7088, allocations: 0 / 0.7449 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.7088, allocations: 3.469 kB / 0.7449 GB, free: 108.6 MB / 0.5105 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.000585/0.7094, allocations: 0.4886 MB / 0.7454 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.7094, allocations: 6.906 kB / 0.7454 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.7095, allocations: 37.36 kB / 0.7454 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.7095, allocations: 19.39 kB / 0.7454 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.7099, allocations: 254.7 kB / 0.7457 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.7099, allocations: 2.812 kB / 0.7457 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.7099, allocations: 6.984 kB / 0.7457 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.7101, allocations: 93.09 kB / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7101, allocations: 3.469 kB / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.7101, allocations: 0 / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.7102, allocations: 4.219 kB / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.402e-05/0.7103, allocations: 46.2 kB / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.7108, allocations: 362.9 kB / 0.7462 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.711, allocations: 76.69 kB / 0.7462 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.711, allocations: 1.438 kB / 0.7463 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.7112, allocations: 84.77 kB / 0.7463 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.7112, allocations: 0 / 0.7463 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0003689/0.7116, allocations: 234.1 kB / 0.7466 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.7116, allocations: 78.36 kB / 0.7466 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.7119, allocations: 237.7 kB / 0.7469 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.7119, allocations: 30.08 kB / 0.7469 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.712, allocations: 122.8 kB / 0.747 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.712, allocations: 27.41 kB / 0.747 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.712, allocations: 7 kB / 0.747 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.7121, allocations: 327.5 kB / 0.7473 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.7122, allocations: 30.97 kB / 0.7474 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.7123, allocations: 57.69 kB / 0.7474 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.514e-05/0.7123, allocations: 35.72 kB / 0.7475 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7123, allocations: 3.406 kB / 0.7475 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000203/0.7125, allocations: 112.3 kB / 0.7476 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.7126, allocations: 7.281 kB / 0.7476 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.7126, allocations: 1.062 kB / 0.7476 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.7126, allocations: 3.953 kB / 0.7476 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.7127, allocations: 17.8 kB / 0.7476 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.7127, allocations: 0 / 0.7476 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.7128, allocations: 11.31 kB / 0.7476 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.7128, allocations: 9.375 kB / 0.7476 GB, free: 106.7 MB / 0.5105 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.0001184/0.7129, allocations: 138.6 kB / 0.7478 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.713, allocations: 20.69 kB / 0.7478 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.7132, allocations: 132.5 kB / 0.7479 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.7133, allocations: 2.594 kB / 0.7479 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7133, allocations: 3.953 kB / 0.7479 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7133, allocations: 1.859 kB / 0.7479 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.7135, allocations: 231.3 kB / 0.7481 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7135, allocations: 3.469 kB / 0.7481 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.7135, allocations: 5.219 kB / 0.7481 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7135, allocations: 0 / 0.7481 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.7136, allocations: 5.594 kB / 0.7481 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.7136, allocations: 0 / 0.7481 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7136, allocations: 1.438 kB / 0.7481 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.7138, allocations: 156.4 kB / 0.7483 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.7139, allocations: 103.6 kB / 0.7484 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.7139, allocations: 6.672 kB / 0.7484 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.504e-05/0.714, allocations: 6.094 kB / 0.7484 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.7141, allocations: 5.469 kB / 0.7484 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.7141, allocations: 4.906 kB / 0.7484 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002174/0.7143, allocations: 203.7 kB / 0.7486 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7143, allocations: 0 / 0.7486 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002614/0.7146, allocations: 46.39 kB / 0.7487 GB, free: 106 MB / 0.5105 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.001297/0.7159, allocations: 1.01 MB / 0.7496 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.7161, allocations: 84.67 kB / 0.7497 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7161, allocations: 0.9688 kB / 0.7497 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.7162, allocations: 44.14 kB / 0.7498 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.7165, allocations: 39.67 kB / 0.7498 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.718, allocations: 1.132 MB / 0.7509 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.7182, allocations: 0.7383 MB / 0.7516 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.7183, allocations: 21.39 kB / 0.7516 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/0.7184, allocations: 48.25 kB / 0.7517 GB, free: 104 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.7185, allocations: 1.156 kB / 0.7517 GB, free: 104 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.7387, allocations: 4.123 MB / 0.7557 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.7389, allocations: 224.8 kB / 0.7559 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.384, allocations: 0 / 0.7559 GB, free: 103.4 MB / 0.5105 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)