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.001528/0.001528, allocations: 108.9 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.001679/0.001679, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.529/1.529, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.053/1.053, allocations: 173.5 MB / 470.7 MB, free: 13.6 MB / 382.1 MB " [Timeout remaining time 178] 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.001927/0.001927, allocations: 65.16 kB / 0.6478 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.185, allocations: 89.52 MB / 0.7352 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.005145/0.1902, allocations: 3.061 MB / 0.7382 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.1927, allocations: 1.34 MB / 0.7395 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.1929, allocations: 7.938 kB / 0.7395 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.1941, allocations: 334.7 kB / 0.7399 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.1945, allocations: 147.3 kB / 0.74 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.1949, allocations: 135.6 kB / 0.7401 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.1953, allocations: 299 kB / 0.7404 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005007/0.1958, allocations: 236.3 kB / 0.7406 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.196, allocations: 119.5 kB / 0.7408 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.1964, allocations: 147.4 kB / 0.7409 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.1964, allocations: 20 kB / 0.7409 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.1968, allocations: 163.7 kB / 0.7411 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1969, allocations: 83.78 kB / 0.7412 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.197, allocations: 111.5 kB / 0.7413 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.1976, allocations: 338.8 kB / 0.7416 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.1976, allocations: 4 kB / 0.7416 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1976, allocations: 3.938 kB / 0.7416 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1976, allocations: 0 / 0.7416 GB, free: 11.69 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.0008949/0.1985, allocations: 0.522 MB / 0.7421 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1986, allocations: 8.031 kB / 0.7421 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.075e-05/0.1987, allocations: 54.73 kB / 0.7422 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005775/0.1993, allocations: 80.72 kB / 0.7422 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.1996, allocations: 246.1 kB / 0.7425 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1996, allocations: 16.75 kB / 0.7425 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.1997, allocations: 20.36 kB / 0.7425 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.2001, allocations: 295.3 kB / 0.7428 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2001, allocations: 4 kB / 0.7428 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.2002, allocations: 4 kB / 0.7428 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/0.2002, allocations: 20.36 kB / 0.7428 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.2005, allocations: 200.9 kB / 0.743 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.2022, allocations: 1.464 MB / 0.7444 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.2025, allocations: 171.7 kB / 0.7446 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.413e-05/0.2026, allocations: 32.84 kB / 0.7446 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.537e-06/0.2026, allocations: 0 / 0.7446 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.2027, allocations: 42.56 kB / 0.7447 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2027, allocations: 0 / 0.7447 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005241/0.2032, allocations: 219.5 kB / 0.7449 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2032, allocations: 51.41 kB / 0.7449 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.2035, allocations: 202.4 kB / 0.7451 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2035, allocations: 29.64 kB / 0.7452 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.2036, allocations: 172.1 kB / 0.7453 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.2037, allocations: 27.78 kB / 0.7453 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.2037, allocations: 41.66 kB / 0.7454 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2039, allocations: 326.8 kB / 0.7457 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.204, allocations: 35.98 kB / 0.7457 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.2041, allocations: 104.5 kB / 0.7458 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.2043, allocations: 148.4 kB / 0.746 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2043, allocations: 0 / 0.746 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003244/0.2046, allocations: 194.4 kB / 0.7462 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2047, allocations: 7.984 kB / 0.7462 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2047, allocations: 4 kB / 0.7462 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/0.2048, allocations: 20.84 kB / 0.7462 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.205, allocations: 31.94 kB / 0.7462 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2064, allocations: 1.418 MB / 0.7476 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.2065, allocations: 11.89 kB / 0.7476 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.2066, allocations: 12.06 kB / 0.7476 GB, free: 4.898 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.0001499/0.2067, allocations: 153.2 kB / 0.7478 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.2068, allocations: 23.89 kB / 0.7478 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.2068, allocations: 21.39 kB / 0.7478 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2068, allocations: 0 / 0.7478 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2068, allocations: 0 / 0.7478 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2068, allocations: 0 / 0.7478 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.2074, allocations: 455.1 kB / 0.7482 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2074, allocations: 4 kB / 0.7483 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.2075, allocations: 4 kB / 0.7483 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-05/0.2075, allocations: 24.84 kB / 0.7483 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2076, allocations: 0 / 0.7483 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.2087, allocations: 1.407 MB / 0.7497 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2087, allocations: 0 / 0.7497 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.209, allocations: 228.3 kB / 0.7499 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.572e-05/0.209, allocations: 97 kB / 0.75 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.2091, allocations: 0 / 0.75 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2092, allocations: 7.938 kB / 0.75 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.2092, allocations: 4 kB / 0.75 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.2092, allocations: 3.984 kB / 0.75 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001405/0.2094, allocations: 141.6 kB / 0.7501 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2094, allocations: 96 / 0.7501 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003653/0.2097, allocations: 55.83 kB / 0.7502 GB, free: 2.055 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.0005918/0.2103, allocations: 0.7522 MB / 0.7509 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003917/0.2108, allocations: 214.7 kB / 0.7511 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2108, allocations: 0 / 0.7511 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.2109, allocations: 142.6 kB / 0.7512 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.2113, allocations: 41.59 kB / 0.7513 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3478/0.5591, allocations: 2.028 MB / 0.7533 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.5594, allocations: 0.7518 MB / 0.754 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.5596, allocations: 24.98 kB / 0.754 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.5596, allocations: 52.19 kB / 0.7541 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/0.5597, allocations: 0.6562 kB / 0.7541 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.5898, allocations: 3.715 MB / 0.7577 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.84/10.43, allocations: 2.344 kB / 0.7577 GB, free: 16.14 MB / 0.5762 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.357235528994352] Failed to read output from testmodel.py, exit status != 0: 10.512896477710456 10.534981162 10.333205154 Calling exit ...