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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001107, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9637/0.9637, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.86 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1258, allocations: 80.92 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003069/0.1289, allocations: 2.026 MB / 0.5864 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008453/0.1298, allocations: 0.5299 MB / 0.587 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1299, allocations: 0 / 0.587 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.13, allocations: 27.72 kB / 0.587 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.1301, allocations: 43.52 kB / 0.587 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.1304, allocations: 55.88 kB / 0.5871 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.1306, allocations: 195.2 kB / 0.5873 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1307, allocations: 62.33 kB / 0.5873 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1309, allocations: 83.69 kB / 0.5874 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.131, allocations: 71.69 kB / 0.5875 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.131, allocations: 16 kB / 0.5875 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.141e-05/0.1311, allocations: 16 kB / 0.5875 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.1311, allocations: 35.84 kB / 0.5875 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.259e-05/0.1312, allocations: 83.59 kB / 0.5876 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.1314, allocations: 167.6 kB / 0.5878 GB, free: 1.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1314, allocations: 4 kB / 0.5878 GB, free: 1.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1314, allocations: 8 kB / 0.5878 GB, free: 1.012 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1314, allocations: 0 / 0.5878 GB, free: 1.012 MB / 494.1 MB 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.0007263/0.1322, allocations: 486.8 kB / 0.5883 GB, free: 500 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1322, allocations: 8.031 kB / 0.5883 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.1322, allocations: 46.73 kB / 0.5883 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.1323, allocations: 24.66 kB / 0.5883 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.1325, allocations: 211.7 kB / 0.5885 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.493e-05/0.1326, allocations: 38.25 kB / 0.5886 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.1326, allocations: 16.38 kB / 0.5886 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.133, allocations: 154.9 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.133, allocations: 3.938 kB / 0.5887 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.133, allocations: 4 kB / 0.5887 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.133, allocations: 11.98 kB / 0.5888 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004727/0.1335, allocations: 143.9 kB / 0.5889 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.1343, allocations: 0.5307 MB / 0.5894 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.1347, allocations: 142.6 kB / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.1349, allocations: 80.8 kB / 0.5896 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1349, allocations: 0 / 0.5896 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.135, allocations: 34.56 kB / 0.5897 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.135, allocations: 4 kB / 0.5897 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006967/0.1357, allocations: 217.4 kB / 0.5899 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.1357, allocations: 51.41 kB / 0.5899 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1358, allocations: 161.7 kB / 0.5901 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1359, allocations: 25.7 kB / 0.5901 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.1359, allocations: 132 kB / 0.5902 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.136, allocations: 43.39 kB / 0.5903 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.136, allocations: 29.72 kB / 0.5903 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.1361, allocations: 318.8 kB / 0.5906 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.1363, allocations: 63.94 kB / 0.5907 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1366, allocations: 86.52 kB / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.137, allocations: 153.3 kB / 0.5909 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.137, allocations: 4 kB / 0.5909 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004696/0.1375, allocations: 181.4 kB / 0.5911 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1375, allocations: 7.984 kB / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1375, allocations: 64 / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1375, allocations: 8 kB / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.1377, allocations: 39.97 kB / 0.5911 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1377, allocations: 0 / 0.5911 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.1379, allocations: 23.83 kB / 0.5911 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.1379, allocations: 11.98 kB / 0.5911 GB, free: 13.31 MB / 0.4981 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 8.961e-05/0.138, allocations: 129.7 kB / 0.5913 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.138, allocations: 15.81 kB / 0.5913 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.1381, allocations: 16.72 kB / 0.5913 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1381, allocations: 0 / 0.5913 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1381, allocations: 0 / 0.5913 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1381, allocations: 7.984 kB / 0.5913 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.1383, allocations: 233.5 kB / 0.5915 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1383, allocations: 0 / 0.5915 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.1385, allocations: 35.97 kB / 0.5916 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1385, allocations: 4 kB / 0.5916 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1386, allocations: 3.984 kB / 0.5916 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1386, allocations: 7.938 kB / 0.5916 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1386, allocations: 0 / 0.5916 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006938/0.1393, allocations: 339.1 kB / 0.5919 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.1393, allocations: 88.98 kB / 0.592 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.1394, allocations: 4 kB / 0.592 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.1395, allocations: 19.97 kB / 0.592 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.1396, allocations: 15.97 kB / 0.592 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1396, allocations: 4 kB / 0.592 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.709e-05/0.1397, allocations: 111.3 kB / 0.5921 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1397, allocations: 0 / 0.5921 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002559/0.1399, allocations: 39.95 kB / 0.5922 GB, free: 12.16 MB / 0.4981 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.0008987/0.1408, allocations: 0.88 MB / 0.593 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.1413, allocations: 146.5 kB / 0.5932 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1413, allocations: 0 / 0.5932 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.1415, allocations: 84 kB / 0.5933 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.1419, allocations: 27.91 kB / 0.5933 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.1443, allocations: 1.962 MB / 0.5952 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.1445, allocations: 0.7235 MB / 0.5959 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.142e-05/0.1446, allocations: 8.562 kB / 0.5959 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.206e-05/0.1447, allocations: 47.41 kB / 0.596 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1447, allocations: 0 / 0.596 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9198/1.064, allocations: 3.233 MB / 0.5991 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.35, allocations: 2.406 kB / 0.5991 GB, free: 5.02 MB / 0.4981 GB (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 --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)