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.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.001336/0.001336, allocations: 116.3 kB / 17.84 MB, free: 5.312 MB / 14.72 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.00141/0.00141, allocations: 203.2 kB / 20.8 MB, free: 2.371 MB / 14.72 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 1.517/1.517, allocations: 230.6 MB / 254.2 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.012/1.012, allocations: 150 MB / 460.2 MB, free: 5.309 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.84 kB / 0.6368 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2143, allocations: 89.13 MB / 0.7238 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.005136/0.2194, allocations: 3.01 MB / 0.7268 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002242/0.2217, allocations: 0.9702 MB / 0.7277 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.222, allocations: 15.88 kB / 0.7277 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.2223, allocations: 67.42 kB / 0.7278 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.2225, allocations: 91.17 kB / 0.7279 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.2232, allocations: 234.2 kB / 0.7281 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000588/0.2238, allocations: 495.1 kB / 0.7286 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/0.2242, allocations: 149.9 kB / 0.7287 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.2245, allocations: 191.1 kB / 0.7289 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.2248, allocations: 183 kB / 0.7291 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.351e-05/0.2248, allocations: 44 kB / 0.7291 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.2249, allocations: 52 kB / 0.7292 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.98e-05/0.225, allocations: 91.64 kB / 0.7292 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.2252, allocations: 210.7 kB / 0.7294 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007598/0.226, allocations: 0.5135 MB / 0.7299 GB, free: 13.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.226, allocations: 4 kB / 0.7299 GB, free: 13.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.22e-07/0.226, allocations: 0 / 0.7299 GB, free: 13.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.226, allocations: 3.938 kB / 0.7299 GB, free: 13.73 MB / 0.545 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.001339/0.2274, allocations: 0.7242 MB / 0.7307 GB, free: 12.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2274, allocations: 8.031 kB / 0.7307 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.241e-05/0.2274, allocations: 8.844 kB / 0.7307 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.192e-05/0.2275, allocations: 66.72 kB / 0.7307 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.2277, allocations: 60.61 kB / 0.7308 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/0.2285, allocations: 404.6 kB / 0.7312 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.2285, allocations: 25.03 kB / 0.7312 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.2286, allocations: 28.38 kB / 0.7312 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006243/0.2292, allocations: 341.1 kB / 0.7316 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.2292, allocations: 0 / 0.7316 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.2293, allocations: 16 kB / 0.7316 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.2293, allocations: 8 kB / 0.7316 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.2298, allocations: 218.1 kB / 0.7318 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.2316, allocations: 1.178 MB / 0.7329 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.2322, allocations: 222.7 kB / 0.7332 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.2324, allocations: 108.8 kB / 0.7333 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.2325, allocations: 7.984 kB / 0.7333 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.2325, allocations: 38.88 kB / 0.7333 GB, free: 10.08 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 3.196e-06/0.2325, allocations: 3.984 kB / 0.7333 GB, free: 10.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0007258/0.2332, allocations: 288.4 kB / 0.7336 GB, free: 9.793 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/0.2333, allocations: 110.8 kB / 0.7337 GB, free: 9.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.2337, allocations: 341.7 kB / 0.734 GB, free: 9.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.2338, allocations: 29.7 kB / 0.734 GB, free: 9.285 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.234, allocations: 232.5 kB / 0.7343 GB, free: 9.051 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.05e-05/0.234, allocations: 79.31 kB / 0.7343 GB, free: 8.973 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2341, allocations: 57.66 kB / 0.7344 GB, free: 8.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.2343, allocations: 342.8 kB / 0.7347 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.2345, allocations: 71.97 kB / 0.7348 GB, free: 8.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.2348, allocations: 151.7 kB / 0.7349 GB, free: 8.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.2352, allocations: 218.6 kB / 0.7351 GB, free: 8.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2352, allocations: 0 / 0.7351 GB, free: 8.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005368/0.2358, allocations: 277.2 kB / 0.7354 GB, free: 7.809 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2358, allocations: 4.188 kB / 0.7354 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.2358, allocations: 8 kB / 0.7354 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.2358, allocations: 7.938 kB / 0.7354 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.236, allocations: 55.91 kB / 0.7355 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.2361, allocations: 0 / 0.7355 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.2362, allocations: 31.88 kB / 0.7355 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.2363, allocations: 15.98 kB / 0.7355 GB, free: 7.688 MB / 0.545 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.0001794/0.2364, allocations: 161.7 kB / 0.7357 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.2365, allocations: 39.77 kB / 0.7357 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.809e-05/0.2366, allocations: 39.36 kB / 0.7358 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2366, allocations: 4 kB / 0.7358 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2366, allocations: 0 / 0.7358 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2366, allocations: 0 / 0.7358 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.2371, allocations: 397.2 kB / 0.7361 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2371, allocations: 4 kB / 0.7361 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.2373, allocations: 39.91 kB / 0.7362 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2373, allocations: 4 kB / 0.7362 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.2373, allocations: 4 kB / 0.7362 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2373, allocations: 4 kB / 0.7362 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2373, allocations: 4 kB / 0.7362 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/0.2381, allocations: 427 kB / 0.7366 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.2382, allocations: 132.8 kB / 0.7367 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.2383, allocations: 4 kB / 0.7367 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.2384, allocations: 20.05 kB / 0.7367 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.2385, allocations: 19.97 kB / 0.7368 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.2385, allocations: 8 kB / 0.7368 GB, free: 6.305 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000282/0.2388, allocations: 239.2 kB / 0.737 GB, free: 6.074 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2388, allocations: 0 / 0.737 GB, free: 6.074 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003478/0.2391, allocations: 71.78 kB / 0.7371 GB, free: 6.004 MB / 0.545 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.001076/0.2402, allocations: 0.9641 MB / 0.738 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004928/0.2407, allocations: 192.1 kB / 0.7382 GB, free: 4.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2407, allocations: 4 kB / 0.7382 GB, free: 4.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.2409, allocations: 99.89 kB / 0.7383 GB, free: 4.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.2415, allocations: 78.98 kB / 0.7384 GB, free: 4.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/0.246, allocations: 3.131 MB / 0.7414 GB, free: 1.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.2464, allocations: 0.7951 MB / 0.7422 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.2466, allocations: 34.95 kB / 0.7422 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.2468, allocations: 127.4 kB / 0.7424 GB, free: 448 kB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/0.2468, allocations: 3.938 kB / 0.7424 GB, free: 444 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.2741, allocations: 6.759 MB / 0.749 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.755/9.029, allocations: 7.938 kB / 0.749 GB, free: 9.84 MB / 0.5606 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.112963135994505] Failed to read output from testmodel.py, exit status != 0: 9.162034902954474 9.188746011 8.958769777 Calling exit ...