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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008731/0.0008731, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9224/0.9224, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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.7.0/package.mo): time 0.5596/0.5596, allocations: 110.2 MB / 369.4 MB, free: 12.61 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 3.938 kB / 0.5472 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.596e-05, allocations: 2.281 kB / 0.5472 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003049/0.003065, allocations: 2.819 MB / 0.55 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.004313, allocations: 0.9388 MB / 0.5509 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.004499, allocations: 15.88 kB / 0.5509 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.004698, allocations: 71.27 kB / 0.551 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.004836, allocations: 103.1 kB / 0.5511 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.005257, allocations: 226.1 kB / 0.5513 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.005612, allocations: 0.4912 MB / 0.5518 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.005859, allocations: 142.2 kB / 0.5519 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.006131, allocations: 275.3 kB / 0.5522 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.006264, allocations: 123.5 kB / 0.5523 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.006305, allocations: 44 kB / 0.5523 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.594e-05/0.006371, allocations: 52 kB / 0.5524 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.006421, allocations: 99.59 kB / 0.5525 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.006505, allocations: 123.6 kB / 0.5526 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.006917, allocations: 0.545 MB / 0.5531 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006919, allocations: 0 / 0.5531 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00692, allocations: 0 / 0.5531 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.006925, allocations: 0 / 0.5531 GB, free: 3.797 MB / 0.5105 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.0007547/0.00768, allocations: 0.6528 MB / 0.5538 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.007719, allocations: 12.03 kB / 0.5538 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.007767, allocations: 62.73 kB / 0.5539 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.008093, allocations: 64.59 kB / 0.5539 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.008514, allocations: 348.6 kB / 0.5542 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.008534, allocations: 21.03 kB / 0.5543 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.008573, allocations: 36.33 kB / 0.5543 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.008963, allocations: 411 kB / 0.5547 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.008976, allocations: 4.125 kB / 0.5547 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.008998, allocations: 20.06 kB / 0.5547 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.009005, allocations: 7.938 kB / 0.5547 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.009284, allocations: 222.5 kB / 0.5549 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009409/0.01022, allocations: 1 MB / 0.5559 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.01059, allocations: 230.8 kB / 0.5561 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.01071, allocations: 104.8 kB / 0.5562 GB, free: 468 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.01074, allocations: 0 / 0.5562 GB, free: 468 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.01076, allocations: 42.56 kB / 0.5563 GB, free: 416 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 1.864e-06/0.01076, allocations: 3.984 kB / 0.5563 GB, free: 412 kB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.0004309/0.01119, allocations: 299.4 kB / 0.5566 GB, free: 108 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.01125, allocations: 110.8 kB / 0.5567 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.01151, allocations: 337.7 kB / 0.557 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.01153, allocations: 33.7 kB / 0.557 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.01166, allocations: 220.5 kB / 0.5572 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.01171, allocations: 83.27 kB / 0.5573 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.01177, allocations: 53.69 kB / 0.5574 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.01188, allocations: 342.8 kB / 0.5577 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.01199, allocations: 75.95 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.01215, allocations: 199.1 kB / 0.558 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.0124, allocations: 207.4 kB / 0.5581 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.0124, allocations: 4 kB / 0.5582 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003197/0.01272, allocations: 288.4 kB / 0.5584 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.01274, allocations: 4 kB / 0.5584 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01275, allocations: 0 / 0.5584 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.01276, allocations: 4 kB / 0.5584 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.01289, allocations: 55.91 kB / 0.5585 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.0129, allocations: 4 kB / 0.5585 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.643e-05/0.01299, allocations: 32.02 kB / 0.5585 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.013, allocations: 12 kB / 0.5585 GB, free: 13.96 MB / 0.5261 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.0001237/0.01312, allocations: 161.7 kB / 0.5587 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.01316, allocations: 39.7 kB / 0.5587 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.01322, allocations: 43.45 kB / 0.5588 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01322, allocations: 3.938 kB / 0.5588 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.01323, allocations: 3.984 kB / 0.5588 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01324, allocations: 3.938 kB / 0.5588 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.01351, allocations: 324.5 kB / 0.5591 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01351, allocations: 0 / 0.5591 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.01362, allocations: 47.91 kB / 0.5591 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01362, allocations: 4 kB / 0.5591 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.01364, allocations: 4 kB / 0.5591 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01364, allocations: 7.922 kB / 0.5592 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01364, allocations: 0 / 0.5592 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.0141, allocations: 432.5 kB / 0.5596 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.01417, allocations: 55.7 kB / 0.5596 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.0142, allocations: 8 kB / 0.5596 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.01428, allocations: 20.05 kB / 0.5596 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.01434, allocations: 15.95 kB / 0.5597 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.01434, allocations: 8 kB / 0.5597 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001747/0.01452, allocations: 235.2 kB / 0.5599 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01452, allocations: 0 / 0.5599 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002109/0.01473, allocations: 71.83 kB / 0.56 GB, free: 12.44 MB / 0.5261 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.0009767/0.01571, allocations: 0.9766 MB / 0.5609 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002857/0.01599, allocations: 187.7 kB / 0.5611 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01599, allocations: 0 / 0.5611 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.0161, allocations: 92.84 kB / 0.5612 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.01643, allocations: 85.67 kB / 0.5613 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.01919, allocations: 3.098 MB / 0.5643 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.01931, allocations: 195.1 kB / 0.5645 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.264e-05/0.0194, allocations: 34.95 kB / 0.5645 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.01952, allocations: 128.5 kB / 0.5646 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.01953, allocations: 0 / 0.5646 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.03933, allocations: 7.66 MB / 0.5721 GB, free: 72 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/6.944, allocations: 4.062 kB / 0.5721 GB, free: 68 kB / 0.5261 GB " [Timeout remaining time 653] (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 --stepSize=34.56 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.493515348993242] Failed to read output from testmodel.py, exit status != 0: 7.0305421613156796 7.046649732 7.03666974 Calling exit ...