Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.001228/0.001228, allocations: 112.4 kB / 17.08 MB, free: 5.785 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.001398/0.001398, allocations: 194.7 kB / 20.03 MB, free: 2.902 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.416/1.416, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.219/1.219, allocations: 175.5 MB / 473.4 MB, free: 4.816 MB / 366.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: translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 76.17 kB / 0.652 GB, free: 21.89 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1918, allocations: 90.05 MB / 0.74 GB, free: 352 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.006681/0.1985, allocations: 3.822 MB / 0.7437 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00347/0.2021, allocations: 1.733 MB / 0.7454 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.2025, allocations: 4 kB / 0.7454 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.2043, allocations: 0.4903 MB / 0.7459 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007605/0.2051, allocations: 218.9 kB / 0.7461 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007179/0.2058, allocations: 215.1 kB / 0.7463 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008066/0.2066, allocations: 478.4 kB / 0.7467 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007537/0.2074, allocations: 357.2 kB / 0.7471 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.2078, allocations: 195.4 kB / 0.7473 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005714/0.2084, allocations: 223.1 kB / 0.7475 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.659e-05/0.2085, allocations: 28 kB / 0.7475 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005908/0.2091, allocations: 243.5 kB / 0.7477 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.2093, allocations: 123.7 kB / 0.7478 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.2096, allocations: 179 kB / 0.748 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.2106, allocations: 0.506 MB / 0.7485 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.2106, allocations: 0 / 0.7485 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2106, allocations: 3.938 kB / 0.7485 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.2106, allocations: 0 / 0.7485 GB, free: 7.543 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001444/0.2121, allocations: 0.6427 MB / 0.7491 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2121, allocations: 8.031 kB / 0.7491 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.2132, allocations: 132.6 kB / 0.7493 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.2137, allocations: 295.8 kB / 0.7496 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.2138, allocations: 21.03 kB / 0.7496 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.2138, allocations: 28.36 kB / 0.7496 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007957/0.2146, allocations: 467.9 kB / 0.7501 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2147, allocations: 0 / 0.7501 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.2147, allocations: 19.92 kB / 0.7501 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.628e-05/0.2148, allocations: 24.55 kB / 0.7501 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/0.2153, allocations: 321.9 kB / 0.7504 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00278/0.2181, allocations: 2.189 MB / 0.7525 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.2186, allocations: 247.8 kB / 0.7528 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.2189, allocations: 104.8 kB / 0.7529 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2189, allocations: 0 / 0.7529 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.219, allocations: 38.56 kB / 0.7529 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.904e-06/0.219, allocations: 4 kB / 0.7529 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.00074/0.2197, allocations: 303.6 kB / 0.7532 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.2198, allocations: 51.41 kB / 0.7533 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.2202, allocations: 266.6 kB / 0.7535 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.2202, allocations: 29.7 kB / 0.7535 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.2204, allocations: 216.2 kB / 0.7537 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.2205, allocations: 51.59 kB / 0.7538 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.2206, allocations: 49.89 kB / 0.7538 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.2208, allocations: 338.8 kB / 0.7542 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.2209, allocations: 56.44 kB / 0.7542 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.2211, allocations: 149.9 kB / 0.7544 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.2214, allocations: 208.8 kB / 0.7546 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2214, allocations: 0 / 0.7546 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004989/0.2219, allocations: 270 kB / 0.7548 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.222, allocations: 7.984 kB / 0.7548 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.222, allocations: 4 kB / 0.7548 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.2222, allocations: 25.31 kB / 0.7549 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.2224, allocations: 55.86 kB / 0.7549 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.2238, allocations: 1.422 MB / 0.7563 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.2241, allocations: 23.78 kB / 0.7563 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.2241, allocations: 16 kB / 0.7563 GB, free: 14.86 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0002299/0.2243, allocations: 169.6 kB / 0.7565 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.2244, allocations: 23.92 kB / 0.7565 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.2245, allocations: 33.83 kB / 0.7565 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.2245, allocations: 8.062 kB / 0.7566 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2245, allocations: 0 / 0.7566 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.2245, allocations: 3.984 kB / 0.7566 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.2257, allocations: 0.7026 MB / 0.7572 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2257, allocations: 0 / 0.7572 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.417e-05/0.2258, allocations: 23.98 kB / 0.7573 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.2259, allocations: 36.66 kB / 0.7573 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.2259, allocations: 0 / 0.7573 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.2272, allocations: 1.415 MB / 0.7587 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.2273, allocations: 4.031 kB / 0.7587 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.2277, allocations: 318.9 kB / 0.759 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.2279, allocations: 120.9 kB / 0.7591 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.2279, allocations: 12 kB / 0.7591 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.2281, allocations: 4 kB / 0.7591 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.2281, allocations: 19.92 kB / 0.7591 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2281, allocations: 4 kB / 0.7591 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002288/0.2284, allocations: 194 kB / 0.7593 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2284, allocations: 0 / 0.7593 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004391/0.2288, allocations: 83.84 kB / 0.7594 GB, free: 11.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0001433/0.229, allocations: 103.2 kB / 0.7595 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.2295, allocations: 271.1 kB / 0.7598 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2295, allocations: 0 / 0.7598 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.2298, allocations: 190.6 kB / 0.76 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.2303, allocations: 62.61 kB / 0.76 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.2313, allocations: 0.5841 MB / 0.7606 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.2318, allocations: 0.7909 MB / 0.7614 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.2319, allocations: 19.44 kB / 0.7614 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.2319, allocations: 0 / 0.7614 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of Templates: time 0.008451/0.2404, allocations: 4.408 MB / 0.7657 GB, free: 4.891 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.146900598003413] Failed to read output from testmodel.py, exit status != 0: 0.24817612399056088 0.266146234 0.05219397599999994 Calling exit ...