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.001366/0.001366, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001573/0.001573, allocations: 209 kB / 22.99 MB, free: 4.977 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9717/0.9717, allocations: 149.9 MB / 463.1 MB, free: 10.38 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",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.002142/0.002142, allocations: 66.42 kB / 0.6411 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2081, allocations: 89.17 MB / 0.7282 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002122/0.2102, allocations: 0.7466 MB / 0.7289 GB, free: 340 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2114, allocations: 0.8782 MB / 0.7297 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.2114, allocations: 8 kB / 0.7298 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.694e-05/0.2115, allocations: 3.938 kB / 0.7298 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.059e-05/0.2116, allocations: 15.86 kB / 0.7298 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.2117, allocations: 35.95 kB / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.2119, allocations: 87.75 kB / 0.7299 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.212, allocations: 12 kB / 0.7299 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.2121, allocations: 43.89 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.2122, allocations: 39.83 kB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.2122, allocations: 8 kB / 0.73 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.2122, allocations: 11.94 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.2122, allocations: 23.97 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.2123, allocations: 31.8 kB / 0.7301 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.2124, allocations: 95.88 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2124, allocations: 0 / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2124, allocations: 0 / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.2124, allocations: 0 / 0.7301 GB, free: 15.03 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.0006397/0.2131, allocations: 326 kB / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2131, allocations: 12.03 kB / 0.7305 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/0.2132, allocations: 34.75 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.2132, allocations: 12.89 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.2134, allocations: 118.4 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2134, allocations: 8.375 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.2134, allocations: 8.125 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.2137, allocations: 101.6 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2137, allocations: 0 / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.2137, allocations: 4 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2137, allocations: 0 / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.2141, allocations: 99.84 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.2147, allocations: 307.7 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006057/0.2153, allocations: 110.6 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.2155, allocations: 56.81 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2155, allocations: 4 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.2155, allocations: 42.55 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.2155, allocations: 7.875 kB / 0.7313 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006706/0.2162, allocations: 181.5 kB / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.2162, allocations: 59.41 kB / 0.7316 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2164, allocations: 127.1 kB / 0.7317 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2164, allocations: 25.7 kB / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.2165, allocations: 92.08 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.2165, allocations: 19.84 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.2165, allocations: 25.7 kB / 0.7319 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2167, allocations: 318.8 kB / 0.7322 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.2169, allocations: 43.95 kB / 0.7322 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.2171, allocations: 47.95 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.2174, allocations: 100.7 kB / 0.7323 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2174, allocations: 0 / 0.7323 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000419/0.2179, allocations: 134 kB / 0.7325 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2179, allocations: 12 kB / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2179, allocations: 0 / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2179, allocations: 0 / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.2181, allocations: 23.97 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2181, allocations: 4.016 kB / 0.7325 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2182, allocations: 15.94 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2182, allocations: 11.97 kB / 0.7325 GB, free: 12.39 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.0001146/0.2183, allocations: 117.8 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.2183, allocations: 0 / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.2184, allocations: 20.38 kB / 0.7327 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2184, allocations: 0 / 0.7327 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2184, allocations: 3.938 kB / 0.7327 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2184, allocations: 0 / 0.7327 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.2186, allocations: 164.7 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2186, allocations: 0 / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.2188, allocations: 27.91 kB / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2188, allocations: 0 / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2188, allocations: 0 / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2188, allocations: 4 kB / 0.7329 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.2188, allocations: 7.938 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.2193, allocations: 235.3 kB / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.2193, allocations: 3.938 kB / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.2193, allocations: 7.938 kB / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2194, allocations: 11.97 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.2195, allocations: 27.91 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.2195, allocations: 8 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.637e-05/0.2196, allocations: 98.88 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2196, allocations: 0 / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000239/0.2198, allocations: 15.95 kB / 0.7333 GB, free: 11.59 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.0008347/0.2207, allocations: 0.7593 MB / 0.734 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.2211, allocations: 107.8 kB / 0.7341 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2211, allocations: 0 / 0.7341 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.2214, allocations: 55.94 kB / 0.7342 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.2217, allocations: 21.66 kB / 0.7342 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.224, allocations: 1.535 MB / 0.7357 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.939e-05/0.2241, allocations: 79.58 kB / 0.7357 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.283e-05/0.2242, allocations: 8 kB / 0.7358 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.667e-05/0.2243, allocations: 39.41 kB / 0.7358 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.2243, allocations: 0 / 0.7358 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.2551, allocations: 3.348 MB / 0.7391 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.35, allocations: 8 kB / 0.7391 GB, free: 5.648 MB / 0.5606 GB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 15.21306496905163] Failed to read output from testmodel.py, exit status != 0: 11.456093274988234 11.472883951 11.257170356 Calling exit ...