Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",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.009341/0.009341, allocations: 100.6 kB / 15.73 MB, free: 6.484 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.001983/0.001983, allocations: 193.2 kB / 16.68 MB, free: 6.363 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.126/1.126, allocations: 143.3 MB / 433.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.89 kB / 0.5953 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3905, allocations: 82.03 MB / 0.6754 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004471/0.395, allocations: 3.124 MB / 0.6784 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.3971, allocations: 0.9708 MB / 0.6794 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.3975, allocations: 14.16 kB / 0.6794 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.3978, allocations: 74.38 kB / 0.6795 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.398, allocations: 104.1 kB / 0.6796 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.3986, allocations: 233.8 kB / 0.6798 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006417/0.3993, allocations: 0.554 MB / 0.6803 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.3997, allocations: 252 kB / 0.6806 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.4, allocations: 207.5 kB / 0.6808 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.4003, allocations: 201.6 kB / 0.681 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.18e-05/0.4004, allocations: 52.25 kB / 0.681 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/0.4005, allocations: 51.19 kB / 0.6811 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.4006, allocations: 109.5 kB / 0.6812 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.4009, allocations: 244.8 kB / 0.6814 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007365/0.4016, allocations: 0.6113 MB / 0.682 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4016, allocations: 3.984 kB / 0.682 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4016, allocations: 5.094 kB / 0.682 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.4016, allocations: 3.938 kB / 0.682 GB, free: 11.78 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001244/0.4029, allocations: 0.7791 MB / 0.6828 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4029, allocations: 13.56 kB / 0.6828 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.322e-05/0.403, allocations: 70.03 kB / 0.6828 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.543e-05/0.4031, allocations: 60.72 kB / 0.6829 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.4038, allocations: 416.3 kB / 0.6833 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.4039, allocations: 28.5 kB / 0.6833 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.4039, allocations: 37.72 kB / 0.6834 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.4046, allocations: 402.3 kB / 0.6837 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.4047, allocations: 1.375 kB / 0.6838 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.4047, allocations: 16.12 kB / 0.6838 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.4047, allocations: 12.23 kB / 0.6838 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005815/0.4053, allocations: 268.1 kB / 0.684 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.4071, allocations: 1.305 MB / 0.6853 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.4078, allocations: 315.3 kB / 0.6856 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.4081, allocations: 140.8 kB / 0.6857 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.4082, allocations: 2.75 kB / 0.6857 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/0.4085, allocations: 186.5 kB / 0.6859 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.4085, allocations: 0 / 0.6859 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0008381/0.4094, allocations: 382.1 kB / 0.6863 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.4094, allocations: 82.23 kB / 0.6864 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.4098, allocations: 354.3 kB / 0.6867 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.4099, allocations: 32.83 kB / 0.6867 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.4101, allocations: 249.7 kB / 0.687 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/0.4102, allocations: 107.8 kB / 0.6871 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.4103, allocations: 78.06 kB / 0.6872 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4104, allocations: 346.9 kB / 0.6875 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.4107, allocations: 99.73 kB / 0.6876 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.411, allocations: 168.7 kB / 0.6877 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.4115, allocations: 255.2 kB / 0.688 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4115, allocations: 9 kB / 0.688 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006413/0.4121, allocations: 350 kB / 0.6883 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4121, allocations: 5.594 kB / 0.6883 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.4122, allocations: 5.125 kB / 0.6883 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4122, allocations: 3.469 kB / 0.6883 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.4125, allocations: 64.91 kB / 0.6884 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.4125, allocations: 3.594 kB / 0.6884 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.4127, allocations: 44.53 kB / 0.6884 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.4127, allocations: 13.83 kB / 0.6885 GB, free: 6.84 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: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002101/0.413, allocations: 179.2 kB / 0.6886 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.413, allocations: 42.27 kB / 0.6887 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.74e-05/0.4131, allocations: 41.31 kB / 0.6887 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.4131, allocations: 8.312 kB / 0.6887 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.4131, allocations: 3.984 kB / 0.6887 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4132, allocations: 3.984 kB / 0.6887 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.4143, allocations: 0.805 MB / 0.6895 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4143, allocations: 0 / 0.6895 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.4146, allocations: 52.41 kB / 0.6896 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4146, allocations: 1.125 kB / 0.6896 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.4146, allocations: 6.438 kB / 0.6896 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.4146, allocations: 5.016 kB / 0.6896 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4147, allocations: 1.438 kB / 0.6896 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008673/0.4155, allocations: 0.5235 MB / 0.6901 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.4157, allocations: 146.7 kB / 0.6902 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.4157, allocations: 6.219 kB / 0.6902 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.4159, allocations: 15.7 kB / 0.6902 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.416, allocations: 23.69 kB / 0.6903 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.416, allocations: 14.36 kB / 0.6903 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002566/0.4163, allocations: 240.5 kB / 0.6905 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4163, allocations: 0 / 0.6905 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003772/0.4167, allocations: 93.33 kB / 0.6906 GB, free: 5.262 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.001207/0.4179, allocations: 1.065 MB / 0.6916 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005629/0.4185, allocations: 272.1 kB / 0.6919 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4185, allocations: 1.062 kB / 0.6919 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.4187, allocations: 134.9 kB / 0.692 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.4193, allocations: 90.89 kB / 0.6921 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.4241, allocations: 3.444 MB / 0.6955 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.4246, allocations: 0.8113 MB / 0.6963 GB, free: 220 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002059/0.4248, allocations: 43.27 kB / 0.6963 GB, free: 176 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.425, allocations: 143.4 kB / 0.6965 GB, free: 36 kB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.425, allocations: 0 / 0.6965 GB, free: 36 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.4562, allocations: 7.448 MB / 0.7037 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/8.799, allocations: 9.688 kB / 0.7037 GB, free: 8.77 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)