Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001838/0.001838, allocations: 109.4 kB / 16.46 MB, free: 6.504 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.002017/0.002017, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.61/1.61, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.119/1.119, allocations: 175.8 MB / 478.4 MB, free: 8.461 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.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 73.61 kB / 0.6652 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2598, allocations: 94.54 MB / 0.7575 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002887/0.2627, allocations: 1.483 MB / 0.759 GB, free: 424 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4696/0.7322, allocations: 439.1 kB / 0.7594 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.7323, allocations: 1.75 kB / 0.7594 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.7323, allocations: 4.172 kB / 0.7594 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.7324, allocations: 12.17 kB / 0.7594 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.7326, allocations: 16.16 kB / 0.7594 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.7327, allocations: 51.16 kB / 0.7595 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.7328, allocations: 18.02 kB / 0.7595 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.7329, allocations: 25.88 kB / 0.7595 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.567e-05/0.733, allocations: 20.97 kB / 0.7595 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.733, allocations: 4.719 kB / 0.7595 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.733, allocations: 4.781 kB / 0.7595 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.733, allocations: 12.53 kB / 0.7595 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.7331, allocations: 22.95 kB / 0.7596 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.7332, allocations: 42.48 kB / 0.7596 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7332, allocations: 2.203 kB / 0.7596 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7332, allocations: 0 / 0.7596 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.7332, allocations: 1.5 kB / 0.7596 GB, free: 7.57 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.0005147/0.7338, allocations: 361.7 kB / 0.76 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7338, allocations: 10.47 kB / 0.76 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.7338, allocations: 35.78 kB / 0.76 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.7339, allocations: 8.594 kB / 0.76 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.734, allocations: 172.7 kB / 0.7602 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.734, allocations: 5.969 kB / 0.7602 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.734, allocations: 7.75 kB / 0.7602 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.7341, allocations: 57.94 kB / 0.7602 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.7341, allocations: 2.656 kB / 0.7602 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.7342, allocations: 0.75 kB / 0.7602 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.7342, allocations: 0.8438 kB / 0.7602 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.531e-05/0.7343, allocations: 30.72 kB / 0.7603 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.7347, allocations: 296.1 kB / 0.7606 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.7349, allocations: 56.05 kB / 0.7606 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.7349, allocations: 23.95 kB / 0.7606 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.7349, allocations: 1.781 kB / 0.7606 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.7352, allocations: 75.7 kB / 0.7607 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.7352, allocations: 5.156 kB / 0.7607 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002609/0.7354, allocations: 101.5 kB / 0.7608 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.7355, allocations: 54.95 kB / 0.7609 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.142e-05/0.7355, allocations: 104.9 kB / 0.761 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.7355, allocations: 30.77 kB / 0.761 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.7356, allocations: 92.48 kB / 0.7611 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.7356, allocations: 25 kB / 0.7611 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.7356, allocations: 29.19 kB / 0.7611 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/0.7357, allocations: 319.4 kB / 0.7614 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-05/0.7357, allocations: 19.05 kB / 0.7614 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.7358, allocations: 45.17 kB / 0.7615 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.31e-05/0.7359, allocations: 64.61 kB / 0.7616 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7359, allocations: 1.812 kB / 0.7616 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000142/0.736, allocations: 94.42 kB / 0.7616 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.736, allocations: 5.062 kB / 0.7616 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.736, allocations: 1.766 kB / 0.7617 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.736, allocations: 2.25 kB / 0.7617 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.7361, allocations: 16.88 kB / 0.7617 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.7361, allocations: 3.859 kB / 0.7617 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.7362, allocations: 11.06 kB / 0.7617 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.7362, allocations: 5.281 kB / 0.7617 GB, free: 5.828 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.602e-05/0.7363, allocations: 121.3 kB / 0.7618 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.7363, allocations: 4.797 kB / 0.7618 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.7363, allocations: 12.86 kB / 0.7618 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7363, allocations: 0.5312 kB / 0.7618 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7363, allocations: 6.219 kB / 0.7618 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7363, allocations: 0.75 kB / 0.7618 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.7367, allocations: 362.6 kB / 0.7622 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7367, allocations: 0 / 0.7622 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.7368, allocations: 8.094 kB / 0.7622 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.7368, allocations: 1.828 kB / 0.7622 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.7368, allocations: 3.625 kB / 0.7622 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.7368, allocations: 10.16 kB / 0.7622 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7368, allocations: 0.6875 kB / 0.7622 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.7369, allocations: 178.3 kB / 0.7624 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.737, allocations: 87.25 kB / 0.7625 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.737, allocations: 1.922 kB / 0.7625 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.7371, allocations: 12.64 kB / 0.7625 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.7371, allocations: 7.078 kB / 0.7625 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.7371, allocations: 8.969 kB / 0.7625 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.7372, allocations: 83.38 kB / 0.7626 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.7372, allocations: 0 / 0.7626 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002351/0.7374, allocations: 14.44 kB / 0.7626 GB, free: 5.066 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003277/0.7377, allocations: 0.715 MB / 0.7633 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.7379, allocations: 60.72 kB / 0.7633 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7379, allocations: 0 / 0.7633 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.838e-05/0.7379, allocations: 26.66 kB / 0.7634 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.7382, allocations: 13.33 kB / 0.7634 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.7398, allocations: 1.368 MB / 0.7647 GB, free: 19.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.7401, allocations: 0.6892 MB / 0.7654 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.7401, allocations: 8.609 kB / 0.7654 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.7402, allocations: 20.94 kB / 0.7654 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.7402, allocations: 0 / 0.7654 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.7656, allocations: 1.775 MB / 0.7671 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/9.016, allocations: 12.47 kB / 0.7671 GB, free: 18.11 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.240106782875955] Failed to read output from testmodel.py, exit status != 0: 9.084658990148455 9.097481125 8.361238413 Calling exit ...