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.001233/0.001233, 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.002076/0.002076, allocations: 213.4 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.542/1.542, allocations: 230.6 MB / 257.6 MB, free: 8.027 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.005/1.005, allocations: 150 MB / 464 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",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.001973/0.001973, allocations: 65.94 kB / 0.642 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.195, allocations: 89.17 MB / 0.7291 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.004556/0.1996, allocations: 1.469 MB / 0.7305 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000407/0.2, allocations: 95.73 kB / 0.7306 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.2, allocations: 0 / 0.7306 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.2001, allocations: 3.938 kB / 0.7306 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.2001, allocations: 3.938 kB / 0.7306 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.2004, allocations: 11.98 kB / 0.7307 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2005, allocations: 31.92 kB / 0.7307 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2006, allocations: 0 / 0.7307 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.2007, allocations: 15.92 kB / 0.7307 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.2007, allocations: 15.92 kB / 0.7307 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2007, allocations: 4 kB / 0.7307 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.2008, allocations: 15.98 kB / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.2008, allocations: 0 / 0.7307 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.2009, allocations: 19.92 kB / 0.7308 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.2011, allocations: 36.11 kB / 0.7308 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2011, allocations: 0 / 0.7308 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2011, allocations: 4 kB / 0.7308 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.2011, allocations: 0 / 0.7308 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.0005807/0.2017, allocations: 266.3 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.2017, allocations: 8.031 kB / 0.7311 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.976e-05/0.2017, allocations: 4.188 kB / 0.7311 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.2018, allocations: 38.73 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.202, allocations: 16.88 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.2022, allocations: 110.5 kB / 0.7312 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.2022, allocations: 8.375 kB / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.2022, allocations: 384 / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.2025, allocations: 61.97 kB / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2025, allocations: 0 / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2025, allocations: 0 / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.2025, allocations: 0 / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.2028, allocations: 47.95 kB / 0.7313 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.2034, allocations: 236 kB / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.2036, allocations: 54.48 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.2038, allocations: 28.91 kB / 0.7316 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.2038, allocations: 4 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.2038, allocations: 34.55 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.2038, allocations: 3.938 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0006233/0.2045, allocations: 109.5 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.2045, allocations: 51.41 kB / 0.7318 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2046, allocations: 106 kB / 0.7319 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.2047, allocations: 29.64 kB / 0.732 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.2047, allocations: 88.12 kB / 0.732 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.2048, allocations: 7.891 kB / 0.7321 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.2048, allocations: 17.72 kB / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.205, allocations: 314.8 kB / 0.7324 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.2051, allocations: 23.97 kB / 0.7324 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.2053, allocations: 27.97 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.2056, allocations: 52.75 kB / 0.7325 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2056, allocations: 0 / 0.7325 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000391/0.206, allocations: 85.66 kB / 0.7326 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.206, allocations: 6.812 kB / 0.7326 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.206, allocations: 4 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.206, allocations: 0 / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.2062, allocations: 11.98 kB / 0.7326 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2062, allocations: 0 / 0.7326 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.2063, allocations: 8.234 kB / 0.7326 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.2063, allocations: 4 kB / 0.7326 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 0.000121/0.2064, allocations: 121.8 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.2064, allocations: 3.953 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.2065, allocations: 7.609 kB / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2065, allocations: 0 / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2065, allocations: 0 / 0.7327 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2065, allocations: 4 kB / 0.7327 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.2068, allocations: 136.7 kB / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2068, allocations: 0 / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.2069, allocations: 11.98 kB / 0.7329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2069, allocations: 0 / 0.7329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2069, allocations: 4 kB / 0.7329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2069, allocations: 4 kB / 0.7329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2069, allocations: 0 / 0.7329 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.2074, allocations: 179.4 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-06/0.2074, allocations: 0 / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.2074, allocations: 4.031 kB / 0.733 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.2075, allocations: 7.984 kB / 0.733 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.2076, allocations: 8 kB / 0.7331 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.2076, allocations: 0 / 0.7331 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.883e-05/0.2077, allocations: 87.2 kB / 0.7331 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2077, allocations: 0 / 0.7331 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004245/0.2081, allocations: 7.938 kB / 0.7331 GB, free: 12.94 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.0008622/0.209, allocations: 0.7162 MB / 0.7338 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.2093, allocations: 51.95 kB / 0.7339 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2093, allocations: 4.094 kB / 0.7339 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.2095, allocations: 27.97 kB / 0.7339 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.21, allocations: 4.641 kB / 0.7339 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007754/0.2108, allocations: 151.1 kB / 0.7341 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.2112, allocations: 0.6768 MB / 0.7347 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.688e-05/0.2112, allocations: 8 kB / 0.7347 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.2113, allocations: 15.36 kB / 0.7348 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.2113, allocations: 0 / 0.7348 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.239, allocations: 1.595 MB / 0.7363 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.36, allocations: 3.984 kB / 0.7363 GB, free: 9.758 MB / 0.5606 GB " [Timeout remaining time 648] (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.339580425003078] Failed to read output from testmodel.py, exit status != 0: 11.524027535982896 11.541611091 11.336659408 Calling exit ...