Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001299/0.001299, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001416/0.001416, allocations: 219.6 kB / 23.04 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8955/0.8955, allocations: 145 MB / 458.2 MB, free: 15.53 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.00287/0.00287, allocations: 61.69 kB / 0.6339 GB, free: 7.355 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2306, allocations: 87.89 MB / 0.7198 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.004363/0.235, allocations: 1.466 MB / 0.7212 GB, free: 14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004395/0.2354, allocations: 96.59 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.2355, allocations: 0 / 0.7213 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.506e-05/0.2355, allocations: 3.984 kB / 0.7213 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.2356, allocations: 3.938 kB / 0.7213 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.2359, allocations: 11.98 kB / 0.7213 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.236, allocations: 27.92 kB / 0.7213 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.2361, allocations: 4 kB / 0.7213 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.2361, allocations: 11.94 kB / 0.7214 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.2362, allocations: 15.97 kB / 0.7214 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2362, allocations: 4 kB / 0.7214 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.2363, allocations: 23.86 kB / 0.7214 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.2363, allocations: 0 / 0.7214 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.2364, allocations: 15.92 kB / 0.7214 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.2366, allocations: 31.84 kB / 0.7214 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2366, allocations: 0 / 0.7214 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2366, allocations: 0 / 0.7214 GB, free: 13.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2366, allocations: 3.938 kB / 0.7214 GB, free: 13.75 MB / 0.545 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.0006145/0.2372, allocations: 270.3 kB / 0.7217 GB, free: 13.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.2372, allocations: 8.031 kB / 0.7217 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.683e-05/0.2373, allocations: 192 / 0.7217 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.948e-05/0.2373, allocations: 42.73 kB / 0.7218 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.2376, allocations: 12.92 kB / 0.7218 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.2377, allocations: 106.5 kB / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.2378, allocations: 384 / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.2378, allocations: 8.375 kB / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.2381, allocations: 65.95 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.2382, allocations: 7.938 kB / 0.7219 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2382, allocations: 0 / 0.7219 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2382, allocations: 0 / 0.7219 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.2385, allocations: 47.95 kB / 0.722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.2393, allocations: 240 kB / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.2396, allocations: 50.55 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.2398, allocations: 24.91 kB / 0.7223 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.2398, allocations: 4 kB / 0.7223 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.2399, allocations: 42.48 kB / 0.7223 GB, free: 12.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.2399, allocations: 0 / 0.7223 GB, free: 12.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0006993/0.2406, allocations: 101.6 kB / 0.7224 GB, free: 12.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.2406, allocations: 51.41 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.2408, allocations: 101.9 kB / 0.7226 GB, free: 12.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.2408, allocations: 29.83 kB / 0.7226 GB, free: 12.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.2409, allocations: 88.12 kB / 0.7227 GB, free: 12.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.2409, allocations: 7.891 kB / 0.7227 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.241, allocations: 13.72 kB / 0.7227 GB, free: 12.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002519/0.2412, allocations: 314.8 kB / 0.723 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.2414, allocations: 19.97 kB / 0.723 GB, free: 11.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.2416, allocations: 35.91 kB / 0.7231 GB, free: 11.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.2419, allocations: 52.75 kB / 0.7231 GB, free: 11.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2419, allocations: 0 / 0.7231 GB, free: 11.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005135/0.2425, allocations: 81.61 kB / 0.7232 GB, free: 11.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2425, allocations: 8.094 kB / 0.7232 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2425, allocations: 0 / 0.7232 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2425, allocations: 4 kB / 0.7232 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2427, allocations: 7.984 kB / 0.7232 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2427, allocations: 0 / 0.7232 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2428, allocations: 11.98 kB / 0.7232 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.2428, allocations: 0 / 0.7232 GB, free: 11.73 MB / 0.545 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.00013/0.2429, allocations: 113.8 kB / 0.7233 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.243, allocations: 11.94 kB / 0.7233 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.243, allocations: 11.55 kB / 0.7234 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.243, allocations: 0 / 0.7234 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.243, allocations: 0 / 0.7234 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.243, allocations: 0 / 0.7234 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.2433, allocations: 140.7 kB / 0.7235 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2433, allocations: 0 / 0.7235 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.2435, allocations: 11.98 kB / 0.7235 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2435, allocations: 0 / 0.7235 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.2435, allocations: 0 / 0.7235 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2435, allocations: 4.25 kB / 0.7235 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.2435, allocations: 4 kB / 0.7235 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005469/0.244, allocations: 175.4 kB / 0.7237 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.2441, allocations: 7.953 kB / 0.7237 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.2441, allocations: 0 / 0.7237 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.2442, allocations: 12.02 kB / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.2443, allocations: 8 kB / 0.7237 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2443, allocations: 0 / 0.7237 GB, free: 11.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.48e-05/0.2444, allocations: 87.2 kB / 0.7238 GB, free: 11.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2444, allocations: 0 / 0.7238 GB, free: 11.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004801/0.2449, allocations: 11.88 kB / 0.7238 GB, free: 11.07 MB / 0.545 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.00098/0.2458, allocations: 0.7085 MB / 0.7245 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004373/0.2463, allocations: 47.95 kB / 0.7245 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2463, allocations: 0 / 0.7245 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.2465, allocations: 36 kB / 0.7246 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.247, allocations: 0 / 0.7246 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/0.2478, allocations: 155.1 kB / 0.7247 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.2484, allocations: 0.6768 MB / 0.7254 GB, free: 9.359 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.684e-05/0.2484, allocations: 8.062 kB / 0.7254 GB, free: 9.352 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.2485, allocations: 11.42 kB / 0.7254 GB, free: 9.344 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.2485, allocations: 0 / 0.7254 GB, free: 9.344 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.2801, allocations: 1.6 MB / 0.727 GB, free: 7.891 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.24, allocations: 9.219 kB / 0.727 GB, free: 7.887 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.885245212935843] Failed to read output from testmodel.py, exit status != 0: 11.405531999072991 11.427241884 11.186214058 Calling exit ...