Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.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.001334/0.001334, allocations: 115.1 kB / 19.7 MB, free: 2.203 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.001496/0.001496, allocations: 218.3 kB / 23 MB, free: 5.074 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.9882/0.9882, allocations: 150 MB / 463.2 MB, free: 10.56 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.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",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.002741/0.002741, allocations: 63.72 kB / 0.6413 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2161, allocations: 89.18 MB / 0.7284 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.003483/0.2196, allocations: 1.465 MB / 0.7298 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003999/0.22, allocations: 95.72 kB / 0.7299 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.697e-05/0.22, allocations: 0 / 0.7299 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.22, allocations: 3.938 kB / 0.7299 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.666e-05/0.2201, allocations: 4 kB / 0.7299 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.2203, allocations: 19.92 kB / 0.7299 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.2205, allocations: 31.86 kB / 0.7299 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2206, allocations: 0 / 0.7299 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.2206, allocations: 15.92 kB / 0.7299 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.2207, allocations: 15.92 kB / 0.73 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.2207, allocations: 4 kB / 0.73 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-05/0.2208, allocations: 15.98 kB / 0.73 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.2208, allocations: 3.984 kB / 0.73 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.2209, allocations: 15.94 kB / 0.73 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.221, allocations: 36.12 kB / 0.73 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.221, allocations: 0 / 0.73 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.104e-06/0.221, allocations: 0 / 0.73 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.221, allocations: 0 / 0.73 GB, free: 15.62 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005336/0.2216, allocations: 266.3 kB / 0.7303 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.2216, allocations: 12.02 kB / 0.7303 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.2217, allocations: 34.75 kB / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.2219, allocations: 12.88 kB / 0.7303 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.222, allocations: 106.5 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.222, allocations: 12.36 kB / 0.7305 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.2221, allocations: 8.312 kB / 0.7305 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.2223, allocations: 54.22 kB / 0.7305 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2223, allocations: 7.938 kB / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.2223, allocations: 0 / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.2223, allocations: 4 kB / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.2225, allocations: 47.95 kB / 0.7306 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.223, allocations: 236 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.2232, allocations: 58.42 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.2233, allocations: 28.89 kB / 0.7309 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2233, allocations: 4 kB / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.2234, allocations: 34.56 kB / 0.7309 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2234, allocations: 0 / 0.7309 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004627/0.2238, allocations: 101.6 kB / 0.731 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.2239, allocations: 55.53 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.224, allocations: 109.8 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.224, allocations: 29.7 kB / 0.7312 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.2241, allocations: 84.08 kB / 0.7313 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.2241, allocations: 7.891 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.2241, allocations: 21.72 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2243, allocations: 310.8 kB / 0.7316 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.2244, allocations: 23.97 kB / 0.7316 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.571e-05/0.2245, allocations: 31.97 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.2247, allocations: 48.81 kB / 0.7317 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2247, allocations: 3.938 kB / 0.7317 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002365/0.2249, allocations: 85.66 kB / 0.7318 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2249, allocations: 4 kB / 0.7318 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2249, allocations: 0 / 0.7318 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2249, allocations: 0 / 0.7318 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.225, allocations: 15.92 kB / 0.7318 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2251, allocations: 0 / 0.7318 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.2251, allocations: 11.98 kB / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.2251, allocations: 0 / 0.7318 GB, free: 13.59 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 (2): * Single equations (assignments): 2 * 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.106e-05/0.2252, allocations: 115.8 kB / 0.7319 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.2253, allocations: 11.94 kB / 0.7319 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.2253, allocations: 7.625 kB / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2253, allocations: 0 / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2253, allocations: 0 / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2253, allocations: 0 / 0.732 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.2255, allocations: 136.7 kB / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2255, allocations: 0 / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.128e-05/0.2256, allocations: 11.98 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2256, allocations: 0 / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.2256, allocations: 4 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2256, allocations: 0 / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2256, allocations: 256 / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.2259, allocations: 183.4 kB / 0.7323 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.2259, allocations: 4 kB / 0.7323 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.2259, allocations: 8.031 kB / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/0.226, allocations: 7.984 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.2261, allocations: 0 / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2261, allocations: 4 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.212e-05/0.2261, allocations: 87.27 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2261, allocations: 3.938 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002247/0.2263, allocations: 4 kB / 0.7324 GB, free: 12.95 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 (2): * Single equations (assignments): 2 * 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.0007905/0.2271, allocations: 0.7124 MB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003088/0.2274, allocations: 55.92 kB / 0.7331 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2274, allocations: 4.062 kB / 0.7331 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.2276, allocations: 19.97 kB / 0.7332 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.228, allocations: 8 kB / 0.7332 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.2286, allocations: 147.1 kB / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.229, allocations: 0.6807 MB / 0.734 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.229, allocations: 7.922 kB / 0.734 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.2291, allocations: 15.42 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/0.2291, allocations: 0 / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.2588, allocations: 1.566 MB / 0.7355 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.23, allocations: 6.234 kB / 0.7355 GB, free: 9.773 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.060086776968092] Failed to read output from testmodel.py, exit status != 0: 11.338192198891193 11.359590094 11.134865882 Calling exit ...