Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.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.001287/0.001287, 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.001511/0.001511, allocations: 224.3 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.9367/0.9367, allocations: 150 MB / 463.2 MB, free: 10.43 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.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",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.003199/0.003199, allocations: 71.33 kB / 0.6413 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2081, allocations: 89.17 MB / 0.7284 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.003038/0.2111, allocations: 1.559 MB / 0.7299 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003674/0.2115, allocations: 123.7 kB / 0.73 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.2115, allocations: 0 / 0.73 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.2117, allocations: 7.922 kB / 0.73 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.713e-05/0.2117, allocations: 11.88 kB / 0.73 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.212, allocations: 27.97 kB / 0.73 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.2121, allocations: 59.77 kB / 0.7301 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2122, allocations: 15.98 kB / 0.7301 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.436e-05/0.2123, allocations: 31.92 kB / 0.7301 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.2124, allocations: 27.91 kB / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.2124, allocations: 4 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.2125, allocations: 11.98 kB / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.2125, allocations: 19.92 kB / 0.7302 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.2125, allocations: 27.86 kB / 0.7302 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.2127, allocations: 60.02 kB / 0.7303 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2127, allocations: 0 / 0.7303 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2127, allocations: 3.938 kB / 0.7303 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2127, allocations: 3.938 kB / 0.7303 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005396/0.2133, allocations: 306 kB / 0.7306 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.2133, allocations: 16.02 kB / 0.7306 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.2133, allocations: 34.75 kB / 0.7306 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.2134, allocations: 8.891 kB / 0.7306 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.2136, allocations: 122.5 kB / 0.7308 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.2136, allocations: 384 / 0.7308 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.2136, allocations: 4.375 kB / 0.7308 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.2139, allocations: 94.14 kB / 0.7309 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2139, allocations: 3.938 kB / 0.7309 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.2139, allocations: 0 / 0.7309 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.214, allocations: 0 / 0.7309 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.2143, allocations: 79.91 kB / 0.7309 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.2148, allocations: 307.7 kB / 0.7312 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.215, allocations: 58.53 kB / 0.7313 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.2152, allocations: 36.92 kB / 0.7313 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.2152, allocations: 7.984 kB / 0.7313 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2152, allocations: 38.55 kB / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2152, allocations: 0 / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005602/0.2158, allocations: 141.5 kB / 0.7315 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.2158, allocations: 59.41 kB / 0.7316 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2159, allocations: 113.8 kB / 0.7317 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.216, allocations: 25.7 kB / 0.7317 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.216, allocations: 96.08 kB / 0.7318 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.216, allocations: 7.891 kB / 0.7318 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.2161, allocations: 17.72 kB / 0.7318 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2162, allocations: 314.8 kB / 0.7321 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.2164, allocations: 43.95 kB / 0.7321 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2165, allocations: 35.95 kB / 0.7322 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.2168, allocations: 68.78 kB / 0.7322 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2168, allocations: 0 / 0.7322 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003313/0.2171, allocations: 109.5 kB / 0.7324 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2171, allocations: 6.5 kB / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2171, allocations: 3.984 kB / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2172, allocations: 0 / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2173, allocations: 15.98 kB / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2173, allocations: 3.938 kB / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.029e-05/0.2174, allocations: 19.98 kB / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.2174, allocations: 0 / 0.7324 GB, free: 12.83 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 9.42e-05/0.2175, allocations: 119.7 kB / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.2175, allocations: 8 kB / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.2179, allocations: 113.5 kB / 0.7326 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2179, allocations: 8 kB / 0.7326 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2179, allocations: 0 / 0.7326 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2179, allocations: 0 / 0.7326 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.2181, allocations: 152.6 kB / 0.7328 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2181, allocations: 0 / 0.7328 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.2182, allocations: 19.97 kB / 0.7328 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2182, allocations: 0 / 0.7328 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.2182, allocations: 0 / 0.7328 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2182, allocations: 0 / 0.7328 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2182, allocations: 3.938 kB / 0.7328 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.2186, allocations: 203.4 kB / 0.733 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.2186, allocations: 7.953 kB / 0.733 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2186, allocations: 432 / 0.733 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.2187, allocations: 15.98 kB / 0.733 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.2187, allocations: 11.92 kB / 0.733 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.2188, allocations: 4 kB / 0.733 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.2188, allocations: 94.55 kB / 0.7331 GB, free: 12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2188, allocations: 0 / 0.7331 GB, free: 12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002289/0.219, allocations: 11.94 kB / 0.7331 GB, free: 11.99 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.0007459/0.2198, allocations: 0.7397 MB / 0.7339 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.2201, allocations: 75.86 kB / 0.7339 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2201, allocations: 0 / 0.7339 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.2203, allocations: 43.95 kB / 0.734 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.2206, allocations: 8 kB / 0.734 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.2225, allocations: 1.423 MB / 0.7354 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.2228, allocations: 0.6924 MB / 0.736 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.292e-05/0.2228, allocations: 7.984 kB / 0.7361 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.2229, allocations: 15.44 kB / 0.7361 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.2229, allocations: 3.938 kB / 0.7361 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.2524, allocations: 1.948 MB / 0.738 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.33, allocations: 6.406 kB / 0.738 GB, free: 7.043 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Average.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.127534857019782] Failed to read output from testmodel.py, exit status != 0: 11.437894586008042 11.454018209000001 11.238060318 Calling exit ...