Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",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.008519/0.008519, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.002112/0.002112, allocations: 191 kB / 16.67 MB, free: 5.969 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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 0.8989/0.8989, allocations: 143.3 MB / 433.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 67.56 kB / 0.5953 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1984, allocations: 82.04 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.005076/0.2036, allocations: 2.979 MB / 0.6783 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.2058, allocations: 0.9118 MB / 0.6792 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.2061, allocations: 11.94 kB / 0.6792 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.2064, allocations: 67.25 kB / 0.6793 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.2067, allocations: 83.19 kB / 0.6793 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.2073, allocations: 226.5 kB / 0.6796 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005512/0.2078, allocations: 495.2 kB / 0.68 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.2083, allocations: 217.9 kB / 0.6802 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.2085, allocations: 179.2 kB / 0.6804 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.2088, allocations: 179 kB / 0.6806 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.931e-05/0.2089, allocations: 47.94 kB / 0.6806 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-05/0.2089, allocations: 44 kB / 0.6807 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.907e-05/0.209, allocations: 95.62 kB / 0.6808 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.2092, allocations: 194.9 kB / 0.6809 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007171/0.21, allocations: 0.5407 MB / 0.6815 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.21, allocations: 0 / 0.6815 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.894e-06/0.21, allocations: 0 / 0.6815 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.21, allocations: 0 / 0.6815 GB, free: 4.375 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.001219/0.2112, allocations: 0.7242 MB / 0.6822 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.2113, allocations: 15.97 kB / 0.6822 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.435e-05/0.2114, allocations: 66.66 kB / 0.6823 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.2115, allocations: 52.61 kB / 0.6823 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006995/0.2122, allocations: 400.7 kB / 0.6827 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.2122, allocations: 29.03 kB / 0.6827 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.2123, allocations: 28.38 kB / 0.6827 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.2129, allocations: 333.3 kB / 0.6831 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.2129, allocations: 3.938 kB / 0.6831 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.213, allocations: 12 kB / 0.6831 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.213, allocations: 12 kB / 0.6831 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.2135, allocations: 214.1 kB / 0.6833 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.2152, allocations: 1.178 MB / 0.6844 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/0.2158, allocations: 238.7 kB / 0.6847 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.2161, allocations: 114.1 kB / 0.6848 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.2161, allocations: 0 / 0.6848 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.2161, allocations: 34.94 kB / 0.6848 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 3.397e-06/0.2162, allocations: 3.984 kB / 0.6848 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0007018/0.2169, allocations: 302.7 kB / 0.6851 GB, free: 440 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.217, allocations: 102.8 kB / 0.6852 GB, free: 312 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.2174, allocations: 341.7 kB / 0.6855 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.2174, allocations: 29.7 kB / 0.6856 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.2176, allocations: 220.6 kB / 0.6858 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.2177, allocations: 87.25 kB / 0.6859 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-05/0.2178, allocations: 53.7 kB / 0.6859 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.218, allocations: 346.8 kB / 0.6862 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.2182, allocations: 75.95 kB / 0.6863 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.2185, allocations: 147.7 kB / 0.6864 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000413/0.2189, allocations: 209 kB / 0.6866 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2189, allocations: 3.938 kB / 0.6866 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005519/0.2194, allocations: 281.1 kB / 0.6869 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2195, allocations: 8 kB / 0.6869 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.2195, allocations: 0 / 0.6869 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.2195, allocations: 7.938 kB / 0.6869 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.2198, allocations: 56.09 kB / 0.687 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2198, allocations: 4 kB / 0.687 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.22, allocations: 35.81 kB / 0.687 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.22, allocations: 12 kB / 0.687 GB, free: 14.34 MB / 0.5294 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.0002206/0.2202, allocations: 165.7 kB / 0.6872 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.2203, allocations: 35.77 kB / 0.6872 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.81e-05/0.2204, allocations: 35.36 kB / 0.6873 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2204, allocations: 8 kB / 0.6873 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.577e-06/0.2204, allocations: 0 / 0.6873 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2204, allocations: 7.922 kB / 0.6873 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.2209, allocations: 385.3 kB / 0.6876 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2209, allocations: 0 / 0.6876 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.2212, allocations: 43.97 kB / 0.6877 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2212, allocations: 4 kB / 0.6877 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.2212, allocations: 4 kB / 0.6877 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2212, allocations: 0 / 0.6877 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2212, allocations: 4 kB / 0.6877 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.222, allocations: 432.2 kB / 0.6881 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.2222, allocations: 136.8 kB / 0.6882 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.2223, allocations: 4 kB / 0.6882 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.2224, allocations: 15.98 kB / 0.6883 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.2225, allocations: 24.03 kB / 0.6883 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2225, allocations: 8 kB / 0.6883 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000277/0.2228, allocations: 239.2 kB / 0.6885 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2228, allocations: 0 / 0.6885 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003336/0.2232, allocations: 71.83 kB / 0.6886 GB, free: 12.66 MB / 0.5294 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.001156/0.2243, allocations: 0.9692 MB / 0.6895 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.2248, allocations: 195.7 kB / 0.6897 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2248, allocations: 0 / 0.6897 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.2251, allocations: 102 kB / 0.6898 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.2256, allocations: 80.3 kB / 0.6899 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.2302, allocations: 3.13 MB / 0.6929 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.2307, allocations: 0.7873 MB / 0.6937 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001674/0.2309, allocations: 38.95 kB / 0.6938 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.2311, allocations: 131.3 kB / 0.6939 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.2311, allocations: 0 / 0.6939 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/0.2636, allocations: 6.681 MB / 0.7004 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/8.674, allocations: 4.688 kB / 0.7004 GB, free: 0.5586 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)