Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 114.2 kB / 17.33 MB, free: 5.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.526/1.526, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8303/0.8303, allocations: 128.4 MB / 426.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003275/0.003275, allocations: 62.62 kB / 0.5911 GB, free: 21.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2357, allocations: 83.27 MB / 0.6724 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.00523/0.2409, allocations: 2.988 MB / 0.6754 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.2428, allocations: 0.9274 MB / 0.6763 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.2431, allocations: 11.94 kB / 0.6763 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.2434, allocations: 67.27 kB / 0.6763 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.2436, allocations: 95.17 kB / 0.6764 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.2442, allocations: 222.7 kB / 0.6766 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.2447, allocations: 491.2 kB / 0.6771 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003365/0.2451, allocations: 153.6 kB / 0.6773 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.2453, allocations: 191.1 kB / 0.6774 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.2456, allocations: 179 kB / 0.6776 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.334e-05/0.2457, allocations: 40 kB / 0.6777 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.267e-05/0.2457, allocations: 44 kB / 0.6777 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.976e-05/0.2458, allocations: 99.56 kB / 0.6778 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.246, allocations: 195 kB / 0.678 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.2466, allocations: 0.5134 MB / 0.6785 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.2466, allocations: 4 kB / 0.6785 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2466, allocations: 0 / 0.6785 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.2467, allocations: 4 kB / 0.6785 GB, free: 13.68 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001226/0.2479, allocations: 0.7242 MB / 0.6792 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2479, allocations: 8.031 kB / 0.6792 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.248, allocations: 52.59 kB / 0.6793 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00068/0.2487, allocations: 396.7 kB / 0.6796 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.2487, allocations: 32.97 kB / 0.6797 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.249e-05/0.2488, allocations: 24.38 kB / 0.6797 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.2494, allocations: 341.5 kB / 0.68 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.2494, allocations: 3.938 kB / 0.68 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.2495, allocations: 16 kB / 0.68 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.2495, allocations: 4 kB / 0.68 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.25, allocations: 214.2 kB / 0.6802 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.2516, allocations: 1.174 MB / 0.6814 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.2522, allocations: 226.7 kB / 0.6816 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.2525, allocations: 109.9 kB / 0.6817 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.2525, allocations: 0 / 0.6817 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.2525, allocations: 34.94 kB / 0.6817 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 9.72e-07/0.2525, allocations: 0 / 0.6817 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0007243/0.2533, allocations: 302.5 kB / 0.682 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/0.2534, allocations: 102.8 kB / 0.6821 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.2537, allocations: 341.6 kB / 0.6825 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.2538, allocations: 33.69 kB / 0.6825 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.254, allocations: 228.5 kB / 0.6827 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.2541, allocations: 79.28 kB / 0.6828 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.737e-05/0.2541, allocations: 57.67 kB / 0.6828 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.2543, allocations: 346.8 kB / 0.6832 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.2545, allocations: 75.95 kB / 0.6832 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.2548, allocations: 143.7 kB / 0.6834 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.2552, allocations: 213.9 kB / 0.6836 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.2552, allocations: 0 / 0.6836 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004964/0.2557, allocations: 291.9 kB / 0.6839 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2557, allocations: 4 kB / 0.6839 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.2557, allocations: 4 kB / 0.6839 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.2557, allocations: 4 kB / 0.6839 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.2559, allocations: 55.91 kB / 0.6839 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2559, allocations: 192 / 0.6839 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2561, allocations: 39.83 kB / 0.684 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.2561, allocations: 8 kB / 0.684 GB, free: 7.742 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001874/0.2563, allocations: 169.6 kB / 0.6841 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.2564, allocations: 39.77 kB / 0.6842 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.398e-05/0.2565, allocations: 35.36 kB / 0.6842 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2565, allocations: 0 / 0.6842 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2565, allocations: 4 kB / 0.6842 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.2565, allocations: 7.984 kB / 0.6842 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.257, allocations: 389.3 kB / 0.6846 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.257, allocations: 0 / 0.6846 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.2572, allocations: 43.92 kB / 0.6846 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2572, allocations: 4 kB / 0.6846 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.2572, allocations: 3.984 kB / 0.6846 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2572, allocations: 0 / 0.6846 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2572, allocations: 0 / 0.6846 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/0.2579, allocations: 442.3 kB / 0.6851 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.2581, allocations: 128.9 kB / 0.6852 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.2581, allocations: 7.984 kB / 0.6852 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.2583, allocations: 11.98 kB / 0.6852 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.2584, allocations: 15.98 kB / 0.6852 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.2584, allocations: 11.92 kB / 0.6852 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002608/0.2586, allocations: 243.2 kB / 0.6855 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2586, allocations: 0 / 0.6855 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000339/0.259, allocations: 75.78 kB / 0.6855 GB, free: 6.051 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0001307/0.2591, allocations: 99.23 kB / 0.6856 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004646/0.2596, allocations: 188.1 kB / 0.6858 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2596, allocations: 8 kB / 0.6858 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.2598, allocations: 91.91 kB / 0.6859 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.2603, allocations: 81.05 kB / 0.686 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2617, allocations: 0.7042 MB / 0.6867 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.2621, allocations: 0.7951 MB / 0.6874 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001658/0.2623, allocations: 34.97 kB / 0.6875 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.2624, allocations: 27.42 kB / 0.6875 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of SimCode: time 1.373e-06/0.2624, allocations: 0 / 0.6875 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of Templates: time 0.008218/0.2706, allocations: 3.267 MB / 0.6907 GB, free: 0.7344 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 480]