Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.001456/0.001456, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001809/0.001809, allocations: 204 kB / 20.09 MB, free: 2.977 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.597/1.597, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.013/1.013, allocations: 150 MB / 459.5 MB, free: 5.648 MB / 350.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.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",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.002134/0.002134, allocations: 75.52 kB / 0.6361 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1962, allocations: 89.13 MB / 0.7231 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005158/0.2013, allocations: 3.126 MB / 0.7262 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00248/0.2038, allocations: 1.375 MB / 0.7275 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.204, allocations: 11.94 kB / 0.7275 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.2051, allocations: 346.7 kB / 0.7279 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.2055, allocations: 147.2 kB / 0.728 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.206, allocations: 142.2 kB / 0.7282 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.2064, allocations: 303 kB / 0.7284 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004633/0.2069, allocations: 184.3 kB / 0.7286 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.2071, allocations: 135.5 kB / 0.7287 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004058/0.2075, allocations: 143.5 kB / 0.7289 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.2075, allocations: 20 kB / 0.7289 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.2078, allocations: 171.6 kB / 0.7291 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.208, allocations: 79.8 kB / 0.7291 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.2081, allocations: 111.5 kB / 0.7292 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005885/0.2087, allocations: 334.7 kB / 0.7296 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.2087, allocations: 8 kB / 0.7296 GB, free: 13.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.644e-06/0.2087, allocations: 0 / 0.7296 GB, free: 13.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2087, allocations: 0 / 0.7296 GB, free: 13.44 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001028/0.2097, allocations: 0.5237 MB / 0.7301 GB, free: 12.87 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.2098, allocations: 8.031 kB / 0.7301 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.541e-05/0.2099, allocations: 54.73 kB / 0.7301 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006118/0.2105, allocations: 84.72 kB / 0.7302 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.2108, allocations: 244 kB / 0.7305 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.2108, allocations: 16.75 kB / 0.7305 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.2109, allocations: 20.36 kB / 0.7305 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.2114, allocations: 295.1 kB / 0.7308 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.2114, allocations: 7.938 kB / 0.7308 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.2114, allocations: 8 kB / 0.7308 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-05/0.2115, allocations: 16.36 kB / 0.7308 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.2118, allocations: 196.9 kB / 0.731 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.2136, allocations: 1.464 MB / 0.7324 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.2139, allocations: 167.7 kB / 0.7326 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.214, allocations: 32.84 kB / 0.7326 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.214, allocations: 3.938 kB / 0.7326 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.214, allocations: 34.5 kB / 0.7327 GB, free: 9.969 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.214, allocations: 0 / 0.7327 GB, free: 9.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000561/0.2146, allocations: 227.5 kB / 0.7329 GB, free: 9.719 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.2146, allocations: 55.39 kB / 0.7329 GB, free: 9.652 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.2148, allocations: 199.4 kB / 0.7331 GB, free: 9.449 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.2149, allocations: 29.7 kB / 0.7331 GB, free: 9.414 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.215, allocations: 176 kB / 0.7333 GB, free: 9.238 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.215, allocations: 23.8 kB / 0.7333 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.2151, allocations: 41.66 kB / 0.7334 GB, free: 9.168 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2153, allocations: 326.8 kB / 0.7337 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.2153, allocations: 39.92 kB / 0.7337 GB, free: 8.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.2155, allocations: 106.2 kB / 0.7338 GB, free: 8.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.2157, allocations: 140.4 kB / 0.734 GB, free: 8.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2157, allocations: 0 / 0.734 GB, free: 8.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003325/0.216, allocations: 190.2 kB / 0.7341 GB, free: 8.305 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.216, allocations: 8 kB / 0.7341 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.216, allocations: 0 / 0.7341 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.2162, allocations: 33.06 kB / 0.7342 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.2164, allocations: 32.05 kB / 0.7342 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.2177, allocations: 1.426 MB / 0.7356 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.2178, allocations: 15.89 kB / 0.7356 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.2178, allocations: 4 kB / 0.7356 GB, free: 6.645 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.218, allocations: 149.7 kB / 0.7358 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.218, allocations: 15.91 kB / 0.7358 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.2181, allocations: 21.39 kB / 0.7358 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2181, allocations: 64 / 0.7358 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2181, allocations: 8 kB / 0.7358 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2181, allocations: 0 / 0.7358 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.2187, allocations: 451.1 kB / 0.7362 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2187, allocations: 0 / 0.7362 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.2187, allocations: 8 kB / 0.7362 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.223e-05/0.2188, allocations: 20.84 kB / 0.7363 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.2188, allocations: 0 / 0.7363 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.2201, allocations: 1.414 MB / 0.7376 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2201, allocations: 3.938 kB / 0.7376 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.2204, allocations: 216.3 kB / 0.7379 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.2205, allocations: 100.9 kB / 0.7379 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.2205, allocations: 8 kB / 0.738 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2206, allocations: 8 kB / 0.738 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.2207, allocations: 8.047 kB / 0.738 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.2207, allocations: 4 kB / 0.738 GB, free: 3.984 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001594/0.2208, allocations: 140.4 kB / 0.7381 GB, free: 3.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2208, allocations: 0 / 0.7381 GB, free: 3.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003753/0.2212, allocations: 55.89 kB / 0.7382 GB, free: 3.793 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005933/0.2218, allocations: 0.7483 MB / 0.7389 GB, free: 3.012 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.2222, allocations: 207.1 kB / 0.7391 GB, free: 2.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2222, allocations: 0 / 0.7391 GB, free: 2.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.2224, allocations: 147.2 kB / 0.7392 GB, free: 2.641 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.2228, allocations: 40.06 kB / 0.7393 GB, free: 2.602 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.2253, allocations: 2.048 MB / 0.7413 GB, free: 424 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.2258, allocations: 0.7552 MB / 0.742 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.59e-05/0.2259, allocations: 17.55 kB / 0.742 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.681e-05/0.226, allocations: 55.41 kB / 0.7421 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.226, allocations: 4 kB / 0.7421 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.2572, allocations: 3.729 MB / 0.7457 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.33, allocations: 11.31 kB / 0.7457 GB, free: 11.97 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance_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_Electrical_DC_Lines_Examples_Resistance.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.464763668831438] Failed to read output from testmodel.py, exit status != 0: 10.414343707030639 10.429081152 10.217460547 Calling exit ...