Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001786/0.001786, allocations: 105 kB / 20.48 MB, free: 1.488 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.00231/0.00231, allocations: 215.2 kB / 23.79 MB, free: 4.703 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.534/1.534, allocations: 230.6 MB / 257.6 MB, free: 8 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.008/1.008, allocations: 150 MB / 464 MB, free: 10.55 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.Reals.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_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.002151/0.002151, allocations: 69.92 kB / 0.6421 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2109, allocations: 89.17 MB / 0.7292 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002003/0.2129, allocations: 0.6922 MB / 0.7298 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.214, allocations: 0.8276 MB / 0.7306 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.214, allocations: 0 / 0.7306 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.214, allocations: 7.938 kB / 0.7307 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.463e-05/0.2141, allocations: 3.938 kB / 0.7307 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.723e-05/0.2142, allocations: 11.98 kB / 0.7307 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2143, allocations: 51.78 kB / 0.7307 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2144, allocations: 11.98 kB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.2145, allocations: 15.98 kB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.2145, allocations: 19.91 kB / 0.7308 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.2146, allocations: 4 kB / 0.7308 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.2146, allocations: 4 kB / 0.7308 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.2146, allocations: 11.94 kB / 0.7308 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.2146, allocations: 19.92 kB / 0.7308 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.2147, allocations: 44.03 kB / 0.7308 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2147, allocations: 0 / 0.7308 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2147, allocations: 4 kB / 0.7308 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2147, allocations: 0 / 0.7308 GB, free: 15.55 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005667/0.2153, allocations: 286.2 kB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.2153, allocations: 8.031 kB / 0.7311 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.078e-05/0.2154, allocations: 8.188 kB / 0.7311 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.2154, allocations: 34.75 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.2154, allocations: 0.9375 kB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.2156, allocations: 126.3 kB / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2156, allocations: 4.312 kB / 0.7313 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.2156, allocations: 4.375 kB / 0.7313 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.2159, allocations: 69.97 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2159, allocations: 0 / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2159, allocations: 0 / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2159, allocations: 4 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.2162, allocations: 63.92 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.2166, allocations: 247.9 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.2168, allocations: 54.55 kB / 0.7317 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.217, allocations: 40.91 kB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.217, allocations: 0 / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.217, allocations: 34.56 kB / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.217, allocations: 0 / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005948/0.2176, allocations: 141.5 kB / 0.7319 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.2177, allocations: 51.41 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2178, allocations: 113.8 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.2178, allocations: 25.7 kB / 0.7321 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.2179, allocations: 88.14 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2179, allocations: 7.953 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.2179, allocations: 13.72 kB / 0.7322 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.2181, allocations: 322.8 kB / 0.7325 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.2182, allocations: 31.97 kB / 0.7325 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.2184, allocations: 31.95 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.2187, allocations: 72.73 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2187, allocations: 0 / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003284/0.219, allocations: 105.5 kB / 0.7327 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.219, allocations: 6.188 kB / 0.7328 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.219, allocations: 0 / 0.7328 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.219, allocations: 4 kB / 0.7328 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.2192, allocations: 15.98 kB / 0.7328 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2192, allocations: 0 / 0.7328 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.2192, allocations: 11.98 kB / 0.7328 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2192, allocations: 0 / 0.7328 GB, free: 13.37 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001049/0.2194, allocations: 117.8 kB / 0.7329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.2194, allocations: 7.953 kB / 0.7329 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.2194, allocations: 8 kB / 0.7329 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2194, allocations: 0 / 0.7329 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2194, allocations: 0 / 0.7329 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2194, allocations: 0 / 0.7329 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.2196, allocations: 140.7 kB / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2196, allocations: 4 kB / 0.7331 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.2197, allocations: 15.97 kB / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.2197, allocations: 3.938 kB / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.2197, allocations: 0 / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2197, allocations: 4 kB / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2197, allocations: 7.938 kB / 0.7331 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.2201, allocations: 191.4 kB / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.2201, allocations: 7.891 kB / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.2201, allocations: 3.984 kB / 0.7333 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2202, allocations: 19.98 kB / 0.7333 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.2203, allocations: 4 kB / 0.7333 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.2203, allocations: 4 kB / 0.7333 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.568e-05/0.2203, allocations: 87.27 kB / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2203, allocations: 0 / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002812/0.2206, allocations: 8 kB / 0.7334 GB, free: 12.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007696/0.2214, allocations: 0.7361 MB / 0.7341 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.2217, allocations: 63.97 kB / 0.7342 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2217, allocations: 4 kB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.2219, allocations: 36.05 kB / 0.7342 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.2222, allocations: 11.92 kB / 0.7342 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.2227, allocations: 162.5 kB / 0.7344 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.2231, allocations: 0.6885 MB / 0.735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.885e-05/0.2231, allocations: 0 / 0.735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.2232, allocations: 11.44 kB / 0.7351 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.2232, allocations: 0 / 0.7351 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.2449, allocations: 1.771 MB / 0.7368 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.5, allocations: 13.03 kB / 0.7368 GB, free: 9.254 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.495912288024556] Failed to read output from testmodel.py, exit status != 0: 11.659625149972271 11.677323286 11.459227037 Calling exit ...