Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.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.0016/0.0016, allocations: 119 kB / 19.69 MB, free: 2.199 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.002151/0.002151, allocations: 225.1 kB / 23.01 MB, free: 5.047 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.042/1.042, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 178] 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.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",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.001985/0.001985, allocations: 71 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2181, allocations: 89.17 MB / 0.7284 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Min): time 0.00276/0.2208, allocations: 0.756 MB / 0.7291 GB, free: 480 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.2225, allocations: 0.8977 MB / 0.73 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.2226, allocations: 4 kB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.2226, allocations: 7.875 kB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.2227, allocations: 11.81 kB / 0.73 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.2229, allocations: 43.94 kB / 0.73 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.2231, allocations: 83.83 kB / 0.7301 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.2233, allocations: 23.97 kB / 0.7301 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.2234, allocations: 39.84 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.2235, allocations: 47.83 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.2236, allocations: 8 kB / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.118e-05/0.2236, allocations: 8 kB / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/0.2236, allocations: 27.91 kB / 0.7303 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.2237, allocations: 35.8 kB / 0.7303 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.2239, allocations: 95.81 kB / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2239, allocations: 0 / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2239, allocations: 0 / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2239, allocations: 0 / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008291/0.2247, allocations: 322 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.2248, allocations: 12.03 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.143e-05/0.2249, allocations: 46.73 kB / 0.7308 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.2249, allocations: 8.891 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.2251, allocations: 110.5 kB / 0.7309 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2251, allocations: 4.375 kB / 0.7309 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.2251, allocations: 12.12 kB / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.2255, allocations: 109.5 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2256, allocations: 0 / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2256, allocations: 0 / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2256, allocations: 4 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.2261, allocations: 99.89 kB / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/0.2269, allocations: 311.7 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000893/0.2278, allocations: 126.5 kB / 0.7315 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.228, allocations: 48.81 kB / 0.7316 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.2281, allocations: 4 kB / 0.7316 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.2281, allocations: 38.55 kB / 0.7316 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.2281, allocations: 0 / 0.7316 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001002/0.2291, allocations: 185.7 kB / 0.7318 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.2292, allocations: 51.41 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.2293, allocations: 127.6 kB / 0.7319 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.2294, allocations: 25.7 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.2294, allocations: 96.09 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.2295, allocations: 19.83 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.2296, allocations: 25.7 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.2297, allocations: 314.8 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.23, allocations: 43.95 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.2303, allocations: 56 kB / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.2308, allocations: 100.8 kB / 0.7326 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2308, allocations: 0 / 0.7326 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006037/0.2314, allocations: 137.5 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.2314, allocations: 14.64 kB / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2314, allocations: 0 / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2314, allocations: 0 / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.2317, allocations: 23.97 kB / 0.7328 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.2317, allocations: 7.938 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.2319, allocations: 11.94 kB / 0.7328 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.2319, allocations: 7.938 kB / 0.7328 GB, free: 12.48 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001331/0.232, allocations: 113.8 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.2321, allocations: 11.98 kB / 0.7329 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.2328, allocations: 149.9 kB / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2328, allocations: 0 / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2328, allocations: 7.875 kB / 0.7331 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2328, allocations: 0 / 0.7331 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.2331, allocations: 176.6 kB / 0.7332 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2331, allocations: 4 kB / 0.7332 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.2334, allocations: 23.97 kB / 0.7333 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2334, allocations: 0 / 0.7333 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.2334, allocations: 8 kB / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2334, allocations: 0 / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2334, allocations: 3.938 kB / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006823/0.2341, allocations: 239.3 kB / 0.7335 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.2341, allocations: 7.938 kB / 0.7335 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.2341, allocations: 3.984 kB / 0.7335 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.2343, allocations: 11.98 kB / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.2344, allocations: 23.91 kB / 0.7335 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.2345, allocations: 4 kB / 0.7335 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.19e-05/0.2346, allocations: 95.27 kB / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2346, allocations: 4 kB / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003898/0.2349, allocations: 15.95 kB / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001074/0.236, allocations: 0.7748 MB / 0.7344 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005541/0.2366, allocations: 104.4 kB / 0.7345 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2366, allocations: 0 / 0.7345 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.2368, allocations: 56.05 kB / 0.7346 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.2373, allocations: 20.08 kB / 0.7346 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.2404, allocations: 1.531 MB / 0.7361 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.2408, allocations: 0.6985 MB / 0.7368 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.096e-05/0.2409, allocations: 12 kB / 0.7368 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.241, allocations: 27.42 kB / 0.7368 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.241, allocations: 0 / 0.7368 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.2759, allocations: 2.849 MB / 0.7396 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.19, allocations: 7.812 kB / 0.7396 GB, free: 5.453 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.26103415200123] Failed to read output from testmodel.py, exit status != 0: 11.300418537000951 11.327811526 11.09899009 Calling exit ...