Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.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.00133/0.00133, allocations: 107.7 kB / 16.45 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.001316/0.001316, 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.498/1.498, 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-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.143/1.143, allocations: 175.8 MB / 478.4 MB, free: 8.602 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.IntegerReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 69.67 kB / 0.6652 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2095, allocations: 94.54 MB / 0.7575 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003383/0.2129, allocations: 1.774 MB / 0.7593 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3574/0.5704, allocations: 1.118 MB / 0.7604 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.5705, allocations: 3.219 kB / 0.7604 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.5708, allocations: 55.67 kB / 0.7604 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.5711, allocations: 80.38 kB / 0.7605 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.5717, allocations: 227.7 kB / 0.7607 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.572, allocations: 152 kB / 0.7608 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.5721, allocations: 18.25 kB / 0.7609 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.5722, allocations: 65.91 kB / 0.7609 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.5723, allocations: 69.12 kB / 0.761 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.5723, allocations: 6.969 kB / 0.761 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.5725, allocations: 77.33 kB / 0.7611 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.5726, allocations: 40.2 kB / 0.7611 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.5727, allocations: 61.06 kB / 0.7612 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.573, allocations: 196.1 kB / 0.7614 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.573, allocations: 0 / 0.7614 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.573, allocations: 3.938 kB / 0.7614 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.573, allocations: 4.5 kB / 0.7614 GB, free: 7.855 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006135/0.5736, allocations: 494.6 kB / 0.7618 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5737, allocations: 8.625 kB / 0.7618 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.5737, allocations: 38.77 kB / 0.7619 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.5737, allocations: 15.97 kB / 0.7619 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.5741, allocations: 250.2 kB / 0.7621 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.5741, allocations: 8.422 kB / 0.7621 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.5741, allocations: 10.47 kB / 0.7622 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.5743, allocations: 96.38 kB / 0.7622 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5744, allocations: 2.078 kB / 0.7622 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.5744, allocations: 4.344 kB / 0.7623 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.5744, allocations: 2.578 kB / 0.7623 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.5745, allocations: 39.98 kB / 0.7623 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.575, allocations: 348.7 kB / 0.7626 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.5752, allocations: 82.3 kB / 0.7627 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/0.5753, allocations: 37.06 kB / 0.7627 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.5753, allocations: 7.938 kB / 0.7627 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.5755, allocations: 79.08 kB / 0.7628 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.5755, allocations: 0 / 0.7628 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003749/0.5759, allocations: 139.3 kB / 0.763 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.5759, allocations: 104.5 kB / 0.7631 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.5762, allocations: 275.7 kB / 0.7633 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.5762, allocations: 28.3 kB / 0.7633 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.5763, allocations: 118.8 kB / 0.7635 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.5763, allocations: 21.72 kB / 0.7635 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.5763, allocations: 30.11 kB / 0.7635 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.5764, allocations: 327.3 kB / 0.7638 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.5765, allocations: 28.91 kB / 0.7638 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-05/0.5766, allocations: 67.34 kB / 0.7639 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.5767, allocations: 73.12 kB / 0.764 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5767, allocations: 0.5 kB / 0.764 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.5769, allocations: 114.2 kB / 0.7641 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5769, allocations: 5.188 kB / 0.7641 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5769, allocations: 1.375 kB / 0.7641 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.577, allocations: 2.109 kB / 0.7641 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.652e-05/0.5771, allocations: 16.14 kB / 0.7641 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5771, allocations: 1.938 kB / 0.7641 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/0.5771, allocations: 11.38 kB / 0.7641 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.5771, allocations: 6.953 kB / 0.7641 GB, free: 5.859 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.000104/0.5772, allocations: 143.4 kB / 0.7643 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.5773, allocations: 17.97 kB / 0.7643 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.5773, allocations: 20.92 kB / 0.7643 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.5773, allocations: 3.078 kB / 0.7643 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5773, allocations: 0 / 0.7643 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.5773, allocations: 5.734 kB / 0.7643 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.5775, allocations: 227.5 kB / 0.7645 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5775, allocations: 0 / 0.7645 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.5776, allocations: 6.656 kB / 0.7645 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5776, allocations: 3.938 kB / 0.7645 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.5776, allocations: 6.25 kB / 0.7645 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5776, allocations: 2.641 kB / 0.7646 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5776, allocations: 0 / 0.7646 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.5778, allocations: 151.6 kB / 0.7647 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.5778, allocations: 90.8 kB / 0.7648 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.5779, allocations: 2.844 kB / 0.7648 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.5779, allocations: 8.094 kB / 0.7648 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.578, allocations: 14.05 kB / 0.7648 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.578, allocations: 5.219 kB / 0.7648 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000162/0.5782, allocations: 197.5 kB / 0.765 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5782, allocations: 0 / 0.765 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002998/0.5785, allocations: 33.66 kB / 0.765 GB, free: 5.246 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.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.001829/0.5803, allocations: 1.008 MB / 0.766 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.5805, allocations: 65.39 kB / 0.7661 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5805, allocations: 0 / 0.7661 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.716e-05/0.5806, allocations: 39.38 kB / 0.7661 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.5809, allocations: 44.34 kB / 0.7662 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.5834, allocations: 1.953 MB / 0.7681 GB, free: 19.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.5838, allocations: 0.7239 MB / 0.7688 GB, free: 18.67 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.5839, allocations: 26.12 kB / 0.7688 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.584, allocations: 45.97 kB / 0.7688 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.584, allocations: 5.094 kB / 0.7688 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.6156, allocations: 4.717 MB / 0.7735 GB, free: 17.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/8.913, allocations: 7.906 kB / 0.7735 GB, free: 17.82 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegerReplicator.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.96916463598609] Failed to read output from testmodel.py, exit status != 0: 9.03956494294107 9.062471792 8.484612885 Calling exit ...