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) 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/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 92.95 kB / 16.02 MB, free: 84 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.001459/0.001459, allocations: 182.7 kB / 16.92 MB, free: 6.934 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.435/1.435, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7426/0.7426, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003645, allocations: 8.281 kB / 495.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2136, allocations: 77.53 MB / 0.56 GB, free: 9.094 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003759/0.2174, allocations: 2.62 MB / 0.5625 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.2195, allocations: 0.8691 MB / 0.5634 GB, free: 5.582 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.2198, allocations: 11.94 kB / 0.5634 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.22, allocations: 47.58 kB / 0.5634 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.2202, allocations: 71.44 kB / 0.5635 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.2208, allocations: 209.6 kB / 0.5637 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.2213, allocations: 451.2 kB / 0.5641 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.2216, allocations: 205.2 kB / 0.5643 GB, free: 4.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.2219, allocations: 127.2 kB / 0.5644 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.2221, allocations: 139.1 kB / 0.5646 GB, free: 4.348 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.2221, allocations: 12 kB / 0.5646 GB, free: 4.336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.301e-05/0.2221, allocations: 12 kB / 0.5646 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.2222, allocations: 51.66 kB / 0.5646 GB, free: 4.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.2224, allocations: 192.6 kB / 0.5648 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.2228, allocations: 462.4 kB / 0.5653 GB, free: 3.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2228, allocations: 3.984 kB / 0.5653 GB, free: 3.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2228, allocations: 0 / 0.5653 GB, free: 3.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2228, allocations: 0 / 0.5653 GB, free: 3.621 MB / 430.1 MB 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.0009984/0.2238, allocations: 0.6391 MB / 0.5659 GB, free: 2.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2239, allocations: 8.031 kB / 0.5659 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.456e-05/0.224, allocations: 52.36 kB / 0.566 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.2246, allocations: 392.4 kB / 0.5663 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.2246, allocations: 21.03 kB / 0.5663 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.194e-05/0.2247, allocations: 32.38 kB / 0.5664 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.2253, allocations: 345.4 kB / 0.5667 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.2253, allocations: 4 kB / 0.5667 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.2253, allocations: 8 kB / 0.5667 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.2254, allocations: 8 kB / 0.5667 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.2258, allocations: 222.1 kB / 0.5669 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.2274, allocations: 1.197 MB / 0.5681 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.228, allocations: 242.7 kB / 0.5683 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.2283, allocations: 110.2 kB / 0.5684 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.2283, allocations: 4 kB / 0.5684 GB, free: 176 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.2283, allocations: 34.92 kB / 0.5685 GB, free: 132 kB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.2283, allocations: 0 / 0.5685 GB, free: 132 kB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007258/0.2291, allocations: 301.1 kB / 0.5688 GB, free: 15.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.2292, allocations: 110.7 kB / 0.5689 GB, free: 15.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.2295, allocations: 341.6 kB / 0.5692 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.2296, allocations: 29.7 kB / 0.5692 GB, free: 15.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.2297, allocations: 228.2 kB / 0.5694 GB, free: 15.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.2298, allocations: 74.91 kB / 0.5695 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.2299, allocations: 33.7 kB / 0.5695 GB, free: 14.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.23, allocations: 346.8 kB / 0.5699 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.2302, allocations: 71.97 kB / 0.5699 GB, free: 14.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.2305, allocations: 151.6 kB / 0.5701 GB, free: 14.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.2308, allocations: 213.8 kB / 0.5703 GB, free: 14.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2309, allocations: 0 / 0.5703 GB, free: 14.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005041/0.2314, allocations: 288.5 kB / 0.5706 GB, free: 13.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2314, allocations: 8 kB / 0.5706 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.2314, allocations: 4 kB / 0.5706 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2314, allocations: 4 kB / 0.5706 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.2317, allocations: 55.91 kB / 0.5706 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.2317, allocations: 4 kB / 0.5706 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.2319, allocations: 39.67 kB / 0.5707 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.2319, allocations: 12 kB / 0.5707 GB, free: 13.75 MB / 446.1 MB 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.0001813/0.2321, allocations: 161.7 kB / 0.5708 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.2322, allocations: 31.62 kB / 0.5709 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.97e-05/0.2323, allocations: 47.34 kB / 0.5709 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2323, allocations: 0 / 0.5709 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2323, allocations: 0 / 0.5709 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2323, allocations: 0 / 0.5709 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.2328, allocations: 401.2 kB / 0.5713 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2328, allocations: 4 kB / 0.5713 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.233, allocations: 43.91 kB / 0.5713 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.233, allocations: 4 kB / 0.5714 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.233, allocations: 4 kB / 0.5714 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.233, allocations: 0 / 0.5714 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.233, allocations: 0 / 0.5714 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.2338, allocations: 445.1 kB / 0.5718 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.2339, allocations: 128.7 kB / 0.5719 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.2339, allocations: 8 kB / 0.5719 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.2341, allocations: 19.98 kB / 0.5719 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.2342, allocations: 19.97 kB / 0.5719 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.2342, allocations: 12 kB / 0.572 GB, free: 12.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.2345, allocations: 239.2 kB / 0.5722 GB, free: 12.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2345, allocations: 0 / 0.5722 GB, free: 12.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.2348, allocations: 67.75 kB / 0.5723 GB, free: 12.05 MB / 446.1 MB 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.0001363/0.2349, allocations: 99.25 kB / 0.5723 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.2354, allocations: 207.7 kB / 0.5725 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2354, allocations: 0 / 0.5725 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.2357, allocations: 101.8 kB / 0.5726 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.2363, allocations: 91.33 kB / 0.5727 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.2377, allocations: 0.8725 MB / 0.5736 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.2381, allocations: 0.7875 MB / 0.5744 GB, free: 9.832 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.2383, allocations: 50.94 kB / 0.5744 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.2384, allocations: 27.44 kB / 0.5744 GB, free: 9.758 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2384, allocations: 0 / 0.5744 GB, free: 9.758 MB / 446.1 MB Notification: Performance of Templates: time 0.007179/0.2456, allocations: 2.932 MB / 0.5773 GB, free: 6.859 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (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)