Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.001171/0.001171, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001097/0.001097, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.296/1.296, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9982/0.9982, allocations: 175.7 MB / 480.1 MB, free: 2.844 MB / 366.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-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.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 72.36 kB / 0.6678 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1523, allocations: 94.53 MB / 0.7601 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002816/0.1551, allocations: 1.837 MB / 0.7619 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008681/0.1559, allocations: 0.5416 MB / 0.7624 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.774e-05/0.156, allocations: 3.938 kB / 0.7624 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.1561, allocations: 31.73 kB / 0.7624 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.585e-05/0.1562, allocations: 23.73 kB / 0.7625 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.1564, allocations: 71.78 kB / 0.7625 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1566, allocations: 167.5 kB / 0.7627 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1567, allocations: 33.61 kB / 0.7627 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.1568, allocations: 67.64 kB / 0.7628 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.609e-05/0.1569, allocations: 51.7 kB / 0.7628 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.1569, allocations: 8 kB / 0.7628 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.104e-05/0.1569, allocations: 12 kB / 0.7629 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.157, allocations: 31.86 kB / 0.7629 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.157, allocations: 71.59 kB / 0.763 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.1572, allocations: 135.3 kB / 0.7631 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1572, allocations: 0 / 0.7631 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1572, allocations: 0 / 0.7631 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1572, allocations: 0 / 0.7631 GB, free: 13.77 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006707/0.1579, allocations: 486.4 kB / 0.7635 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.1579, allocations: 12.03 kB / 0.7636 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.158, allocations: 50.73 kB / 0.7636 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.158, allocations: 16.84 kB / 0.7636 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1583, allocations: 232 kB / 0.7638 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.1583, allocations: 12.31 kB / 0.7639 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.1583, allocations: 16.31 kB / 0.7639 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.1586, allocations: 157.8 kB / 0.764 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1586, allocations: 4 kB / 0.764 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1586, allocations: 4 kB / 0.764 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1587, allocations: 4 kB / 0.764 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.1589, allocations: 75.83 kB / 0.7641 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008978/0.1598, allocations: 0.7317 MB / 0.7648 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.1599, allocations: 50.55 kB / 0.7649 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.16, allocations: 28.84 kB / 0.7649 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.16, allocations: 0 / 0.7649 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.1603, allocations: 142.7 kB / 0.765 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.1603, allocations: 0 / 0.765 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0004505/0.1607, allocations: 165.4 kB / 0.7652 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.1608, allocations: 128.5 kB / 0.7653 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.161, allocations: 203.1 kB / 0.7655 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.161, allocations: 33.95 kB / 0.7655 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.1611, allocations: 120 kB / 0.7657 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.1611, allocations: 35.69 kB / 0.7657 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.1612, allocations: 45.7 kB / 0.7657 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1613, allocations: 330.8 kB / 0.766 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.1614, allocations: 35.98 kB / 0.7661 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.1616, allocations: 148.3 kB / 0.7662 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.1619, allocations: 202.4 kB / 0.7664 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1619, allocations: 0 / 0.7664 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003798/0.1623, allocations: 209.5 kB / 0.7666 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1623, allocations: 12.09 kB / 0.7666 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1623, allocations: 7.938 kB / 0.7666 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1624, allocations: 4 kB / 0.7666 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1625, allocations: 31.92 kB / 0.7667 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.1625, allocations: 15.92 kB / 0.7667 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.1626, allocations: 27.88 kB / 0.7667 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1626, allocations: 8 kB / 0.7667 GB, free: 9.645 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * 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.0001106/0.1627, allocations: 141.7 kB / 0.7669 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.1628, allocations: 15.91 kB / 0.7669 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.1628, allocations: 25.39 kB / 0.7669 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1628, allocations: 0 / 0.7669 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1628, allocations: 4 kB / 0.7669 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1628, allocations: 240 / 0.7669 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007416/0.1636, allocations: 0.5174 MB / 0.7674 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1636, allocations: 4.062 kB / 0.7674 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1637, allocations: 15.98 kB / 0.7674 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1637, allocations: 4 kB / 0.7674 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1637, allocations: 3.938 kB / 0.7674 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.1637, allocations: 11.88 kB / 0.7674 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1637, allocations: 0 / 0.7674 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.1642, allocations: 360.3 kB / 0.7678 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.1643, allocations: 97.05 kB / 0.7679 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1643, allocations: 0 / 0.7679 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1645, allocations: 23.86 kB / 0.7679 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.1645, allocations: 11.98 kB / 0.7679 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1645, allocations: 4 kB / 0.7679 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001227/0.1646, allocations: 148.4 kB / 0.7681 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1646, allocations: 0 / 0.7681 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003059/0.1649, allocations: 31.94 kB / 0.7681 GB, free: 8.129 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007987/0.1657, allocations: 0.8929 MB / 0.769 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.166, allocations: 116 kB / 0.7691 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.166, allocations: 4 kB / 0.7691 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.1662, allocations: 43.91 kB / 0.7691 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.1667, allocations: 73.05 kB / 0.7692 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.1693, allocations: 2.278 MB / 0.7714 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.1697, allocations: 0.7242 MB / 0.7721 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.577e-05/0.1697, allocations: 22.09 kB / 0.7721 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.264e-05/0.1698, allocations: 59.39 kB / 0.7722 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.1698, allocations: 0 / 0.7722 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.1968, allocations: 4.028 MB / 0.7761 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.272/7.469, allocations: 6.406 kB / 0.7761 GB, free: 15.75 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegratorWithReset.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.884299432989792]