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.001699/0.001699, 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.002062/0.002062, allocations: 219.2 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.994/0.994, allocations: 150 MB / 463.2 MB, free: 10.57 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.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.00204/0.00204, allocations: 72.73 kB / 0.6413 GB, free: 10.87 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1901, allocations: 89.16 MB / 0.7283 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005005/0.1952, allocations: 3.174 MB / 0.7314 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1974, allocations: 1.422 MB / 0.7328 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1976, allocations: 7.938 kB / 0.7328 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.1988, allocations: 350.3 kB / 0.7332 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003939/0.1991, allocations: 151.2 kB / 0.7333 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.1995, allocations: 139.7 kB / 0.7334 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.1999, allocations: 302.9 kB / 0.7337 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004037/0.2003, allocations: 184.5 kB / 0.7339 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.2005, allocations: 131.5 kB / 0.734 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.2009, allocations: 143.5 kB / 0.7342 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.2009, allocations: 20 kB / 0.7342 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.2012, allocations: 171.6 kB / 0.7343 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2013, allocations: 87.72 kB / 0.7344 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.2014, allocations: 111.5 kB / 0.7345 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.2019, allocations: 330.8 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2019, allocations: 3.938 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2019, allocations: 4 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.2019, allocations: 0 / 0.7349 GB, free: 11.05 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008709/0.2028, allocations: 457.5 kB / 0.7353 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2028, allocations: 8.031 kB / 0.7353 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/0.2029, allocations: 54.73 kB / 0.7354 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005742/0.2035, allocations: 84.72 kB / 0.7354 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.2038, allocations: 182.2 kB / 0.7356 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2038, allocations: 12.75 kB / 0.7356 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.2038, allocations: 20.36 kB / 0.7356 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.2043, allocations: 299.3 kB / 0.7359 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.2043, allocations: 4 kB / 0.7359 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.2043, allocations: 7.938 kB / 0.7359 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.2044, allocations: 24.3 kB / 0.736 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.2047, allocations: 196.9 kB / 0.7362 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.2064, allocations: 1.433 MB / 0.7376 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.2067, allocations: 98.61 kB / 0.7376 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.827e-05/0.2067, allocations: 28.84 kB / 0.7377 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.2068, allocations: 0 / 0.7377 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.2068, allocations: 38.62 kB / 0.7377 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.2068, allocations: 0 / 0.7377 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004536/0.2072, allocations: 150.3 kB / 0.7379 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.2073, allocations: 55.41 kB / 0.7379 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.2075, allocations: 199.9 kB / 0.7381 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.2075, allocations: 25.7 kB / 0.7381 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.2077, allocations: 172.1 kB / 0.7383 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.2077, allocations: 27.78 kB / 0.7383 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-05/0.2078, allocations: 37.58 kB / 0.7383 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2079, allocations: 338.8 kB / 0.7387 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.208, allocations: 31.98 kB / 0.7387 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.2081, allocations: 102.4 kB / 0.7388 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.2083, allocations: 148.5 kB / 0.7389 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2083, allocations: 4 kB / 0.7389 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003187/0.2086, allocations: 186.2 kB / 0.7391 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2086, allocations: 4 kB / 0.7391 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2086, allocations: 7.984 kB / 0.7391 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.2088, allocations: 29.12 kB / 0.7392 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.2089, allocations: 27.94 kB / 0.7392 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.2101, allocations: 1.311 MB / 0.7405 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.2102, allocations: 27.75 kB / 0.7405 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2102, allocations: 8 kB / 0.7405 GB, free: 4.762 MB / 0.5606 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.0001448/0.2104, allocations: 156.4 kB / 0.7407 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.2104, allocations: 15.91 kB / 0.7407 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.2105, allocations: 25.48 kB / 0.7407 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2105, allocations: 0 / 0.7407 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2105, allocations: 3.938 kB / 0.7407 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2105, allocations: 0 / 0.7407 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.211, allocations: 414.3 kB / 0.7411 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.211, allocations: 0 / 0.7411 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.211, allocations: 12.03 kB / 0.7411 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.228e-05/0.2111, allocations: 24.83 kB / 0.7411 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2111, allocations: 4 kB / 0.7411 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.2122, allocations: 1.314 MB / 0.7424 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2122, allocations: 0 / 0.7424 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.2125, allocations: 204.7 kB / 0.7426 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.2125, allocations: 27.83 kB / 0.7426 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.2126, allocations: 0 / 0.7426 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2127, allocations: 16.08 kB / 0.7426 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.2127, allocations: 3.938 kB / 0.7427 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2127, allocations: 4 kB / 0.7427 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000141/0.2128, allocations: 140.4 kB / 0.7428 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2128, allocations: 0 / 0.7428 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003583/0.2132, allocations: 55.89 kB / 0.7428 GB, free: 2.172 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 (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.0005563/0.2138, allocations: 0.7483 MB / 0.7436 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003821/0.2141, allocations: 202.6 kB / 0.7438 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2141, allocations: 0 / 0.7438 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.2143, allocations: 147.2 kB / 0.7439 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.2147, allocations: 37.5 kB / 0.7439 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.2171, allocations: 2.051 MB / 0.7459 GB, free: 14.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.2175, allocations: 0.7515 MB / 0.7467 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 9.599e-05/0.2176, allocations: 25.47 kB / 0.7467 GB, free: 14 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.661e-05/0.2177, allocations: 51.42 kB / 0.7468 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of SimCode: time 6.61e-07/0.2177, allocations: 0 / 0.7468 GB, free: 13.95 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04496/0.2626, allocations: 3.88 MB / 0.7505 GB, free: 10.23 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.78, allocations: 9.203 kB / 0.7506 GB, free: 10.22 MB / 0.5763 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.971036818111315] Failed to read output from testmodel.py, exit status != 0: 11.89852382405661 12.24592872 12.041056141 Calling exit ...