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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9014/0.9014, allocations: 134 MB / 436.6 MB, free: 1.277 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 60.59 kB / 0.6051 GB, free: 15.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1614, allocations: 84.68 MB / 0.6878 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003413/0.1648, allocations: 1.788 MB / 0.6895 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1667, allocations: 1.045 MB / 0.6906 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.1668, allocations: 4 kB / 0.6906 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006772/0.1675, allocations: 157.2 kB / 0.6907 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.1678, allocations: 123.6 kB / 0.6908 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.1684, allocations: 166.4 kB / 0.691 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.1686, allocations: 163.6 kB / 0.6912 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1687, allocations: 17.11 kB / 0.6912 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1688, allocations: 67.77 kB / 0.6912 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.169, allocations: 75.66 kB / 0.6913 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.169, allocations: 8 kB / 0.6913 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1691, allocations: 63.89 kB / 0.6914 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.1692, allocations: 47.84 kB / 0.6914 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.672e-05/0.1693, allocations: 63.55 kB / 0.6915 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.1696, allocations: 203.5 kB / 0.6917 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1696, allocations: 0 / 0.6917 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.136e-06/0.1696, allocations: 4 kB / 0.6917 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.1696, allocations: 0 / 0.6917 GB, free: 7.219 MB / 0.5137 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.0008827/0.1705, allocations: 500 kB / 0.6922 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1705, allocations: 12.03 kB / 0.6922 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.1706, allocations: 38.73 kB / 0.6922 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.1706, allocations: 20.84 kB / 0.6922 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.171, allocations: 245 kB / 0.6925 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.171, allocations: 8.375 kB / 0.6925 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.171, allocations: 3.938 kB / 0.6925 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.1712, allocations: 87.38 kB / 0.6926 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.1712, allocations: 7.938 kB / 0.6926 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1712, allocations: 0 / 0.6926 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.1713, allocations: 3.984 kB / 0.6926 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.747e-05/0.1714, allocations: 35.98 kB / 0.6926 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.1719, allocations: 352.7 kB / 0.6929 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1721, allocations: 70.61 kB / 0.693 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.1722, allocations: 32.84 kB / 0.693 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1722, allocations: 4 kB / 0.693 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.1724, allocations: 83.48 kB / 0.6931 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.1724, allocations: 3.938 kB / 0.6931 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0003553/0.1728, allocations: 141.5 kB / 0.6933 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.1728, allocations: 81.11 kB / 0.6933 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.1731, allocations: 267 kB / 0.6936 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1731, allocations: 29.69 kB / 0.6936 GB, free: 5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.1732, allocations: 120.1 kB / 0.6937 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.1733, allocations: 35.72 kB / 0.6938 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.1733, allocations: 25.7 kB / 0.6938 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1735, allocations: 326.8 kB / 0.6941 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1736, allocations: 31.92 kB / 0.6941 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.68e-05/0.1737, allocations: 55.42 kB / 0.6942 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1738, allocations: 77.72 kB / 0.6943 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1738, allocations: 0 / 0.6943 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002217/0.174, allocations: 117.5 kB / 0.6944 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1741, allocations: 8 kB / 0.6944 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1741, allocations: 0 / 0.6944 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.1741, allocations: 3.938 kB / 0.6944 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.1742, allocations: 8 kB / 0.6944 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1742, allocations: 8 kB / 0.6944 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.1742, allocations: 15.95 kB / 0.6944 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1742, allocations: 0 / 0.6944 GB, free: 4.141 MB / 0.5137 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 0.0001489/0.1744, allocations: 149.7 kB / 0.6946 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1744, allocations: 15.91 kB / 0.6946 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.1745, allocations: 17.39 kB / 0.6946 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.1745, allocations: 4 kB / 0.6946 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1745, allocations: 0 / 0.6946 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1745, allocations: 7.922 kB / 0.6946 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.1747, allocations: 229.5 kB / 0.6948 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1747, allocations: 4 kB / 0.6948 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.1748, allocations: 7.875 kB / 0.6948 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1748, allocations: 4 kB / 0.6948 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1748, allocations: 96 / 0.6948 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1748, allocations: 3.938 kB / 0.6948 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1748, allocations: 0 / 0.6948 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.175, allocations: 140.9 kB / 0.695 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.1751, allocations: 101 kB / 0.6951 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.1751, allocations: 3.984 kB / 0.6951 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.1752, allocations: 4 kB / 0.6951 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.1752, allocations: 11.88 kB / 0.6951 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1752, allocations: 7.984 kB / 0.6951 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002233/0.1755, allocations: 187.2 kB / 0.6953 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1755, allocations: 0 / 0.6953 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002534/0.1757, allocations: 31.94 kB / 0.6953 GB, free: 3.129 MB / 0.5137 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.002062/0.1778, allocations: 1.008 MB / 0.6963 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.178, allocations: 63.97 kB / 0.6964 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.178, allocations: 3.938 kB / 0.6964 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/0.1781, allocations: 39.98 kB / 0.6964 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.1784, allocations: 37.62 kB / 0.6964 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.1809, allocations: 1.957 MB / 0.6983 GB, free: 120 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.1812, allocations: 0.724 MB / 0.699 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.719e-05/0.1813, allocations: 25.41 kB / 0.6991 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.417e-05/0.1814, allocations: 51.36 kB / 0.6991 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.1814, allocations: 0 / 0.6991 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.2099, allocations: 4.525 MB / 0.7035 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.271, allocations: 9.141 kB / 0.7035 GB, free: 10.84 MB / 0.5294 GB " [Timeout remaining time 652] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BooleanReplicator.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.950720422901213] Failed to read output from testmodel.py, exit status != 0: 8.392816775012761 8.408630155 8.236058095 Calling exit ...