Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.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.001267/0.001267, allocations: 109.2 kB / 20.48 MB, free: 1.473 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.001473/0.001473, allocations: 215.4 kB / 23.79 MB, free: 4.68 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.458/1.458, allocations: 230.6 MB / 257.6 MB, free: 8.008 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 0.9691/0.9691, allocations: 150 MB / 464 MB, free: 10.48 MB / 366.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.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",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.002984/0.002984, allocations: 66.3 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.194, allocations: 89.18 MB / 0.7291 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002069/0.1961, allocations: 0.7754 MB / 0.7299 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1972, allocations: 0.8899 MB / 0.7307 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.1973, allocations: 0 / 0.7307 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.1973, allocations: 15.86 kB / 0.7308 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.93e-05/0.1974, allocations: 7.875 kB / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.1976, allocations: 35.95 kB / 0.7308 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1977, allocations: 87.81 kB / 0.7309 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1978, allocations: 19.98 kB / 0.7309 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.9e-05/0.1979, allocations: 35.86 kB / 0.7309 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.198, allocations: 47.81 kB / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.198, allocations: 8 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.775e-05/0.1981, allocations: 8 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.1981, allocations: 27.86 kB / 0.731 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.1981, allocations: 43.78 kB / 0.7311 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1983, allocations: 87.94 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1983, allocations: 0 / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1983, allocations: 0 / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1983, allocations: 0 / 0.7312 GB, free: 15.18 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.0006589/0.199, allocations: 326 kB / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.199, allocations: 8.031 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.419e-05/0.199, allocations: 8.188 kB / 0.7315 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.1991, allocations: 34.75 kB / 0.7315 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.1991, allocations: 8.891 kB / 0.7315 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.1992, allocations: 126.4 kB / 0.7316 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1992, allocations: 4.375 kB / 0.7316 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1993, allocations: 11.94 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1996, allocations: 101.6 kB / 0.7318 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1996, allocations: 0 / 0.7318 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1996, allocations: 7.938 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.1996, allocations: 4 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.2, allocations: 103.8 kB / 0.7319 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.2005, allocations: 311.7 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/0.2012, allocations: 114.6 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.2014, allocations: 56.81 kB / 0.7323 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.2014, allocations: 3.938 kB / 0.7323 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.2014, allocations: 38.56 kB / 0.7324 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.2014, allocations: 4 kB / 0.7324 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0007013/0.2021, allocations: 177.5 kB / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.2022, allocations: 59.34 kB / 0.7326 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2023, allocations: 120.6 kB / 0.7327 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.2023, allocations: 29.7 kB / 0.7327 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.2024, allocations: 92.08 kB / 0.7328 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.2024, allocations: 23.83 kB / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.2025, allocations: 25.7 kB / 0.7329 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2026, allocations: 318.8 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.2028, allocations: 43.95 kB / 0.7332 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.203, allocations: 51.89 kB / 0.7333 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.2034, allocations: 97.25 kB / 0.7334 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2034, allocations: 0 / 0.7334 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004243/0.2038, allocations: 141.5 kB / 0.7335 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.2038, allocations: 8 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2038, allocations: 0 / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2038, allocations: 3.984 kB / 0.7335 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.204, allocations: 23.97 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.204, allocations: 7.875 kB / 0.7335 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2041, allocations: 15.94 kB / 0.7336 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2041, allocations: 3.984 kB / 0.7336 GB, free: 12.52 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,sub.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.0001177/0.2042, allocations: 117.8 kB / 0.7337 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.2043, allocations: 4 kB / 0.7337 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.2043, allocations: 16.31 kB / 0.7337 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2043, allocations: 4 kB / 0.7337 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2043, allocations: 3.938 kB / 0.7337 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2043, allocations: 0 / 0.7337 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.2046, allocations: 176.6 kB / 0.7339 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2046, allocations: 0 / 0.7339 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.2047, allocations: 23.97 kB / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2047, allocations: 4 kB / 0.7339 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2047, allocations: 0 / 0.7339 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2047, allocations: 3.984 kB / 0.7339 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.2047, allocations: 7.938 kB / 0.7339 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.2052, allocations: 235.3 kB / 0.7341 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.2052, allocations: 15.92 kB / 0.7341 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.2052, allocations: 0 / 0.7341 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.2054, allocations: 11.98 kB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.2055, allocations: 23.91 kB / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.2055, allocations: 4 kB / 0.7342 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.947e-05/0.2055, allocations: 95.27 kB / 0.7343 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2055, allocations: 0 / 0.7343 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002296/0.2058, allocations: 15.95 kB / 0.7343 GB, free: 11.7 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 (sub.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.001029/0.2068, allocations: 0.7709 MB / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.2072, allocations: 103.9 kB / 0.7351 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2072, allocations: 0 / 0.7351 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.2074, allocations: 63.88 kB / 0.7352 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2078, allocations: 11.94 kB / 0.7352 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.21, allocations: 1.54 MB / 0.7367 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.2103, allocations: 0.6885 MB / 0.7374 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.308e-05/0.2104, allocations: 12 kB / 0.7374 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.2105, allocations: 31.42 kB / 0.7374 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2105, allocations: 4 kB / 0.7374 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.2337, allocations: 2.876 MB / 0.7402 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.48, allocations: 16.77 kB / 0.7403 GB, free: 5.613 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.20933307602536] Failed to read output from testmodel.py, exit status != 0: 11.643684597976971 11.669575498 11.46648695 Calling exit ...