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.001929/0.001929, allocations: 118.2 kB / 19.7 MB, free: 2.188 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.002269/0.002269, allocations: 218.9 kB / 23 MB, free: 5.004 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8 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.9689/0.9689, allocations: 150 MB / 463.2 MB, free: 10.49 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.001941/0.001941, allocations: 69.89 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2283, allocations: 89.16 MB / 0.7283 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.004027/0.2323, allocations: 1.467 MB / 0.7298 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003934/0.2327, allocations: 91.75 kB / 0.7299 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.2327, allocations: 0 / 0.7299 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.2328, allocations: 3.984 kB / 0.7299 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.719e-05/0.2328, allocations: 3.938 kB / 0.7299 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.2331, allocations: 19.98 kB / 0.7299 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2332, allocations: 27.92 kB / 0.7299 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2333, allocations: 3.984 kB / 0.7299 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.539e-05/0.2334, allocations: 11.94 kB / 0.7299 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.2334, allocations: 15.92 kB / 0.73 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2334, allocations: 4 kB / 0.73 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.729e-05/0.2335, allocations: 11.98 kB / 0.73 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.2335, allocations: 7.938 kB / 0.73 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.2336, allocations: 19.92 kB / 0.73 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.2337, allocations: 36.11 kB / 0.73 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2337, allocations: 4 kB / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2337, allocations: 0 / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2337, allocations: 0 / 0.73 GB, free: 15.57 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.0005986/0.2343, allocations: 266.3 kB / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.2344, allocations: 8.031 kB / 0.7303 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.2344, allocations: 34.75 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.2347, allocations: 16.86 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.2348, allocations: 106.5 kB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.2349, allocations: 8.375 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.2349, allocations: 4.375 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.2351, allocations: 54.23 kB / 0.7305 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.2352, allocations: 7.875 kB / 0.7305 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2352, allocations: 3.984 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2352, allocations: 0 / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.2355, allocations: 47.89 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.236, allocations: 236 kB / 0.7308 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.2362, allocations: 58.47 kB / 0.7308 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.2364, allocations: 24.91 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2364, allocations: 4 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.2364, allocations: 38.5 kB / 0.7309 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 3.587e-06/0.2364, allocations: 3.984 kB / 0.7309 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005891/0.237, allocations: 101.6 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.2371, allocations: 59.41 kB / 0.7311 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.2372, allocations: 106 kB / 0.7312 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.2373, allocations: 25.7 kB / 0.7312 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.2373, allocations: 88.06 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.2373, allocations: 7.891 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.2374, allocations: 21.72 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.2376, allocations: 310.8 kB / 0.7316 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.2377, allocations: 23.97 kB / 0.7316 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.2379, allocations: 27.98 kB / 0.7317 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.2381, allocations: 56.73 kB / 0.7317 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2381, allocations: 3.938 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003268/0.2385, allocations: 77.72 kB / 0.7318 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2385, allocations: 4 kB / 0.7318 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2385, allocations: 0 / 0.7318 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.2385, allocations: 0 / 0.7318 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.2387, allocations: 15.98 kB / 0.7318 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2387, allocations: 3.984 kB / 0.7318 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-05/0.2388, allocations: 11.98 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2388, allocations: 0 / 0.7318 GB, free: 13.55 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.0001073/0.2389, allocations: 113.8 kB / 0.7319 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.2389, allocations: 7.953 kB / 0.7319 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.017e-05/0.239, allocations: 11.61 kB / 0.7319 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.239, allocations: 0 / 0.7319 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.239, allocations: 3.938 kB / 0.7319 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.239, allocations: 0 / 0.7319 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.2392, allocations: 136.7 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2392, allocations: 0 / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.2393, allocations: 11.98 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2393, allocations: 0 / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.2393, allocations: 4 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2393, allocations: 0 / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2393, allocations: 3.938 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.2397, allocations: 179.4 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.2397, allocations: 4 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.2398, allocations: 256 / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.2399, allocations: 16.02 kB / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.2399, allocations: 0 / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2399, allocations: 4 kB / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.445e-05/0.24, allocations: 87.27 kB / 0.7324 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.24, allocations: 3.938 kB / 0.7324 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000365/0.2404, allocations: 7.938 kB / 0.7324 GB, free: 12.89 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.0007749/0.2411, allocations: 0.7124 MB / 0.7331 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.2415, allocations: 47.95 kB / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2415, allocations: 4.094 kB / 0.7331 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.2416, allocations: 27.91 kB / 0.7332 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.2421, allocations: 8 kB / 0.7332 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/0.2427, allocations: 143.1 kB / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.2431, allocations: 0.6807 MB / 0.734 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.2431, allocations: 4.062 kB / 0.734 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.2432, allocations: 11.44 kB / 0.734 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.2432, allocations: 0 / 0.734 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.2756, allocations: 1.574 MB / 0.7355 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.14, allocations: 5 kB / 0.7355 GB, free: 9.73 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.093451206997997] Failed to read output from testmodel.py, exit status != 0: 11.245799632000853 11.274834591 11.035758325 Calling exit ...