Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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.001559/0.001559, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.00152/0.00152, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.562/1.562, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.101/1.101, allocations: 175.7 MB / 478.4 MB, free: 3.383 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.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 66.89 kB / 0.6652 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2002, allocations: 94.54 MB / 0.7575 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003558/0.2038, allocations: 2.035 MB / 0.7595 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2048, allocations: 0.5377 MB / 0.76 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2049, allocations: 4 kB / 0.76 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.205, allocations: 19.73 kB / 0.76 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.2051, allocations: 47.56 kB / 0.7601 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.2054, allocations: 55.86 kB / 0.7601 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.2056, allocations: 183.3 kB / 0.7603 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.2058, allocations: 54.25 kB / 0.7604 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.2059, allocations: 75.7 kB / 0.7604 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.2061, allocations: 83.61 kB / 0.7605 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.2061, allocations: 16 kB / 0.7605 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.975e-05/0.2061, allocations: 15.94 kB / 0.7605 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.2062, allocations: 43.84 kB / 0.7606 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.323e-05/0.2063, allocations: 79.59 kB / 0.7607 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.2065, allocations: 171.3 kB / 0.7608 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2065, allocations: 0 / 0.7608 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2065, allocations: 0 / 0.7608 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2065, allocations: 0 / 0.7608 GB, free: 14.27 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008379/0.2074, allocations: 498.6 kB / 0.7613 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2074, allocations: 8.031 kB / 0.7613 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.2074, allocations: 46.73 kB / 0.7613 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.2075, allocations: 20.84 kB / 0.7614 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.2078, allocations: 220 kB / 0.7616 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.996e-05/0.2078, allocations: 38.27 kB / 0.7616 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.2079, allocations: 12.38 kB / 0.7616 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.2083, allocations: 157.5 kB / 0.7618 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2083, allocations: 3.938 kB / 0.7618 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.2083, allocations: 8 kB / 0.7618 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2083, allocations: 0 / 0.7618 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.2088, allocations: 147.9 kB / 0.7619 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008764/0.2097, allocations: 0.527 MB / 0.7624 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.2101, allocations: 134.6 kB / 0.7626 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.2103, allocations: 76.8 kB / 0.7626 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.2104, allocations: 4 kB / 0.7626 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.2104, allocations: 30.56 kB / 0.7627 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.2104, allocations: 0 / 0.7627 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0007346/0.2111, allocations: 225.4 kB / 0.7629 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.2112, allocations: 51.41 kB / 0.7629 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2113, allocations: 161.2 kB / 0.7631 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.2113, allocations: 25.7 kB / 0.7631 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.109e-05/0.2114, allocations: 132.2 kB / 0.7632 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.2115, allocations: 47.64 kB / 0.7633 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.2115, allocations: 29.7 kB / 0.7633 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2117, allocations: 322.8 kB / 0.7636 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2119, allocations: 55.95 kB / 0.7637 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.2121, allocations: 88.2 kB / 0.7638 GB, free: 11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.2125, allocations: 146.4 kB / 0.7639 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2125, allocations: 0 / 0.7639 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004626/0.2129, allocations: 185.5 kB / 0.7641 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2129, allocations: 8 kB / 0.7641 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2129, allocations: 3.984 kB / 0.7641 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.213, allocations: 0 / 0.7641 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.2132, allocations: 44.03 kB / 0.7641 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2132, allocations: 3.938 kB / 0.7641 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.2133, allocations: 27.86 kB / 0.7642 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.2133, allocations: 4 kB / 0.7642 GB, free: 10.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001182/0.2134, allocations: 133.7 kB / 0.7643 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.2135, allocations: 15.91 kB / 0.7643 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.017e-05/0.2135, allocations: 16.7 kB / 0.7643 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.2135, allocations: 7.938 kB / 0.7643 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2135, allocations: 4 kB / 0.7643 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2135, allocations: 0 / 0.7643 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.2138, allocations: 237.5 kB / 0.7646 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2138, allocations: 0 / 0.7646 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.214, allocations: 39.97 kB / 0.7646 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.214, allocations: 0 / 0.7646 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.214, allocations: 0 / 0.7646 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.214, allocations: 3.938 kB / 0.7646 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.214, allocations: 0 / 0.7646 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007123/0.2147, allocations: 348.4 kB / 0.7649 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.2148, allocations: 88.95 kB / 0.765 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.2148, allocations: 15.94 kB / 0.765 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.215, allocations: 20.03 kB / 0.7651 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.2151, allocations: 15.98 kB / 0.7651 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2151, allocations: 0 / 0.7651 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.029e-05/0.2152, allocations: 116.8 kB / 0.7652 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2152, allocations: 0 / 0.7652 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002629/0.2154, allocations: 35.89 kB / 0.7652 GB, free: 9.391 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001016/0.2164, allocations: 0.8724 MB / 0.7661 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.2169, allocations: 147.7 kB / 0.7662 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2169, allocations: 0 / 0.7662 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.2171, allocations: 71.89 kB / 0.7663 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.2175, allocations: 21.98 kB / 0.7663 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.2203, allocations: 1.985 MB / 0.7682 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2207, allocations: 0.7158 MB / 0.7689 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.292e-05/0.2207, allocations: 12.55 kB / 0.7689 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.935e-05/0.2208, allocations: 47.36 kB / 0.769 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.2208, allocations: 0 / 0.769 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.2477, allocations: 3.311 MB / 0.7722 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.595, allocations: 8.031 kB / 0.7722 GB, free: 2.176 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling.fmu > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.83926058281213] Failed to read output from testmodel.py, exit status != 0: 8.683577366173267 8.707681758 8.496687234 Calling exit ...