Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001879/0.001879, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002231/0.002231, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.445/1.445, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.203/1.203, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.25e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01359/0.01361, allocations: 10.19 MB / 0.6285 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.02767, allocations: 8.376 MB / 0.6367 GB, free: 1.965 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.02893, allocations: 75.31 kB / 0.6368 GB, free: 1.891 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00463/0.03356, allocations: 1.675 MB / 0.6384 GB, free: 216 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00445/0.03801, allocations: 1.612 MB / 0.64 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.03987, allocations: 0.6843 MB / 0.6407 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003124/0.04299, allocations: 2.366 MB / 0.643 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.04468, allocations: 1.149 MB / 0.6441 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.04677, allocations: 1.379 MB / 0.6454 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.04827, allocations: 0.9076 MB / 0.6463 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.04849, allocations: 143.9 kB / 0.6465 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.05005, allocations: 0.7521 MB / 0.6472 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006256/0.05068, allocations: 0.5997 MB / 0.6478 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007627/0.05144, allocations: 0.6 MB / 0.6484 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.05453, allocations: 2.613 MB / 0.6509 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.05453, allocations: 0 / 0.6509 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.05453, allocations: 0 / 0.6509 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.265e-05/0.05456, allocations: 4 kB / 0.6509 GB, free: 3.34 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003386/0.05794, allocations: 1.979 MB / 0.6529 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.05798, allocations: 8.031 kB / 0.6529 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/0.07, allocations: 2.059 MB / 0.6549 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002275/0.07227, allocations: 1.137 MB / 0.656 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.085e-05/0.07236, allocations: 94.62 kB / 0.6561 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.0726, allocations: 112.4 kB / 0.6562 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006125/0.07872, allocations: 2.885 MB / 0.659 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.375e-05/0.07876, allocations: 15.83 kB / 0.659 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.07893, allocations: 48 kB / 0.6591 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003717/0.0793, allocations: 130.1 kB / 0.6592 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007876/0.08718, allocations: 2.537 MB / 0.6617 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/0.1001, allocations: 7.424 MB / 0.6689 GB, free: 404 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00677/0.1068, allocations: 1.842 MB / 0.6707 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/0.1098, allocations: 0.9453 MB / 0.6716 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.1098, allocations: 4.5 kB / 0.6716 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.1099, allocations: 47 kB / 0.6717 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.375e-06/0.1099, allocations: 0 / 0.6717 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03348/0.1434, allocations: 8.621 MB / 0.6801 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.1434, allocations: 64.06 kB / 0.6802 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.1448, allocations: 0.9554 MB / 0.6811 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.1449, allocations: 41.7 kB / 0.6811 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/0.1455, allocations: 0.7619 MB / 0.6819 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.1458, allocations: 293.4 kB / 0.6822 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004149/0.1463, allocations: 202.5 kB / 0.6824 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1464, allocations: 349.9 kB / 0.6827 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003203/0.1496, allocations: 1.067 MB / 0.6837 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003376/0.153, allocations: 1.309 MB / 0.685 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00664/0.1597, allocations: 2.378 MB / 0.6873 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1597, allocations: 7.938 kB / 0.6873 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009542/0.1692, allocations: 3.234 MB / 0.6905 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1692, allocations: 8 kB / 0.6905 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.1693, allocations: 8 kB / 0.6905 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002937/0.1722, allocations: 0.7878 MB / 0.6913 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.1742, allocations: 427.2 kB / 0.6917 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3239/0.4982, allocations: 14.78 MB / 0.7061 GB, free: 78.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.5006, allocations: 292 kB / 0.7064 GB, free: 78.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.5007, allocations: 56.03 kB / 0.7065 GB, free: 78.61 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007285/0.5014, allocations: 398.8 kB / 0.7068 GB, free: 78.37 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.5017, allocations: 136.1 kB / 0.707 GB, free: 78.37 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008688/0.5103, allocations: 3.175 MB / 0.7101 GB, free: 77.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.5104, allocations: 8.625 kB / 0.7101 GB, free: 77.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.5104, allocations: 12.06 kB / 0.7101 GB, free: 77.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.5104, allocations: 3.328 kB / 0.7101 GB, free: 77.46 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.5209, allocations: 4.465 MB / 0.7144 GB, free: 75.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.5209, allocations: 7.125 kB / 0.7145 GB, free: 75.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/0.5227, allocations: 349.9 kB / 0.7148 GB, free: 75.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/0.525, allocations: 0.6927 MB / 0.7155 GB, free: 75.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.5251, allocations: 37.17 kB / 0.7155 GB, free: 75.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/0.538, allocations: 14.41 MB / 0.7296 GB, free: 64.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.538, allocations: 9.938 kB / 0.7296 GB, free: 64.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008021/0.546, allocations: 3.002 MB / 0.7325 GB, free: 63.08 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006612/0.5466, allocations: 298 kB / 0.7328 GB, free: 62.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.5468, allocations: 14.31 kB / 0.7328 GB, free: 62.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/0.5487, allocations: 293.5 kB / 0.7331 GB, free: 62.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/0.5491, allocations: 88.27 kB / 0.7332 GB, free: 62.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.5492, allocations: 41.75 kB / 0.7332 GB, free: 62.89 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009005/0.5501, allocations: 0.633 MB / 0.7338 GB, free: 62.62 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.5501, allocations: 0 / 0.7338 GB, free: 62.62 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001742/0.5518, allocations: 428.1 kB / 0.7342 GB, free: 62.59 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002879/0.5521, allocations: 130.2 kB / 0.7344 GB, free: 62.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00836/0.5605, allocations: 3.519 MB / 0.7378 GB, free: 60.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.5605, allocations: 1.094 kB / 0.7378 GB, free: 60.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004775/0.5653, allocations: 2.31 MB / 0.7401 GB, free: 59.65 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.5675, allocations: 478.4 kB / 0.7405 GB, free: 59.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007063/0.5746, allocations: 3.469 MB / 0.7439 GB, free: 57.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/0.5753, allocations: 0.7999 MB / 0.7447 GB, free: 56.97 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001226/0.5765, allocations: 362.1 kB / 0.745 GB, free: 56.79 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.5769, allocations: 103 kB / 0.7451 GB, free: 56.75 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/0.5769, allocations: 0 / 0.7451 GB, free: 56.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.03713/0.614, allocations: 30.72 MB / 0.7751 GB, free: 31.25 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.020906109362841] Failed to read output from testmodel.py, exit status != 0: 0.6222682967782021 0.630817408 0.574056374 Calling exit ...