Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 107.7 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001286, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.06/1.06, allocations: 173.4 MB / 470.6 MB, free: 13.66 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002959/0.002959, allocations: 68.3 kB / 0.6477 GB, free: 11.85 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1993, allocations: 89.52 MB / 0.7352 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.004824/0.2042, allocations: 3.063 MB / 0.7382 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.2063, allocations: 1.348 MB / 0.7395 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.2064, allocations: 4 kB / 0.7395 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.2074, allocations: 334.7 kB / 0.7398 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.2078, allocations: 139.3 kB / 0.7399 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.2081, allocations: 131.6 kB / 0.7401 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000373/0.2085, allocations: 307 kB / 0.7403 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.2089, allocations: 228.2 kB / 0.7406 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.2091, allocations: 131.6 kB / 0.7407 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.2094, allocations: 139.5 kB / 0.7408 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.2094, allocations: 20 kB / 0.7408 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.2097, allocations: 163.7 kB / 0.741 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-05/0.2098, allocations: 79.78 kB / 0.7411 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.21, allocations: 111.5 kB / 0.7412 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004528/0.2104, allocations: 338.8 kB / 0.7415 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2104, allocations: 3.938 kB / 0.7415 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2104, allocations: 0 / 0.7415 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.2105, allocations: 0 / 0.7415 GB, free: 11.82 MB / 0.5762 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.0008381/0.2113, allocations: 0.522 MB / 0.742 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2113, allocations: 12.03 kB / 0.742 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.142e-05/0.2114, allocations: 54.73 kB / 0.7421 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005583/0.212, allocations: 80.72 kB / 0.7422 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.2123, allocations: 250 kB / 0.7424 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.2123, allocations: 20.75 kB / 0.7424 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.2124, allocations: 16.38 kB / 0.7424 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.2129, allocations: 295.4 kB / 0.7427 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2129, allocations: 3.938 kB / 0.7427 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.2129, allocations: 16 kB / 0.7427 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/0.2129, allocations: 16.36 kB / 0.7427 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.2133, allocations: 193 kB / 0.7429 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.2149, allocations: 1.456 MB / 0.7444 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.2153, allocations: 183.7 kB / 0.7445 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.2153, allocations: 32.84 kB / 0.7446 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.2153, allocations: 4 kB / 0.7446 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2154, allocations: 34.5 kB / 0.7446 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.2154, allocations: 0 / 0.7446 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005232/0.2159, allocations: 227.7 kB / 0.7448 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.216, allocations: 51.41 kB / 0.7449 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.2162, allocations: 202.3 kB / 0.7451 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.2162, allocations: 29.7 kB / 0.7451 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.2164, allocations: 167.9 kB / 0.7452 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.2164, allocations: 23.94 kB / 0.7453 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.2165, allocations: 41.59 kB / 0.7453 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2166, allocations: 330.8 kB / 0.7456 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.2167, allocations: 35.98 kB / 0.7457 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.2168, allocations: 98.59 kB / 0.7457 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.217, allocations: 156.4 kB / 0.7459 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.217, allocations: 0 / 0.7459 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003157/0.2174, allocations: 190.2 kB / 0.7461 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2174, allocations: 8 kB / 0.7461 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2174, allocations: 80 / 0.7461 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.2176, allocations: 28.78 kB / 0.7461 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.2177, allocations: 27.98 kB / 0.7461 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.219, allocations: 1.418 MB / 0.7475 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.2191, allocations: 24.05 kB / 0.7475 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.2192, allocations: 4 kB / 0.7476 GB, free: 5.016 MB / 0.5762 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.0001654/0.2193, allocations: 149.7 kB / 0.7477 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.2194, allocations: 15.91 kB / 0.7477 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.2194, allocations: 21.39 kB / 0.7477 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.2194, allocations: 0 / 0.7477 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2194, allocations: 0 / 0.7477 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2194, allocations: 96 / 0.7477 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005876/0.22, allocations: 459.1 kB / 0.7482 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2201, allocations: 4.062 kB / 0.7482 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.2201, allocations: 8 kB / 0.7482 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.712e-05/0.2202, allocations: 20.84 kB / 0.7482 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.2202, allocations: 0 / 0.7482 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.2215, allocations: 1.415 MB / 0.7496 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2215, allocations: 0 / 0.7496 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.2217, allocations: 224.3 kB / 0.7498 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.2218, allocations: 97 kB / 0.7499 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.2219, allocations: 3.938 kB / 0.7499 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.222, allocations: 8 kB / 0.7499 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.222, allocations: 3.984 kB / 0.7499 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.222, allocations: 4 kB / 0.7499 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001529/0.2222, allocations: 145.6 kB / 0.75 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2222, allocations: 0 / 0.75 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003714/0.2226, allocations: 55.89 kB / 0.7501 GB, free: 2.164 MB / 0.5762 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.0006053/0.2232, allocations: 0.7405 MB / 0.7508 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.2236, allocations: 206.5 kB / 0.751 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2236, allocations: 0 / 0.751 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.2238, allocations: 154.6 kB / 0.7512 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.2242, allocations: 32.47 kB / 0.7512 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3828/0.607, allocations: 2.036 MB / 0.7532 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.6073, allocations: 0.7482 MB / 0.7539 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.6074, allocations: 25.72 kB / 0.7539 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/0.6075, allocations: 55.2 kB / 0.754 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/0.6075, allocations: 0 / 0.754 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03502/0.6426, allocations: 3.729 MB / 0.7576 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.704/10.35, allocations: 6.344 kB / 0.7576 GB, free: 16.35 MB / 0.5762 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance.fmu > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.191818733001128] Failed to read output from testmodel.py, exit status != 0: 10.428723604069091 10.438071673 10.225314175 Calling exit ...