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.001581/0.001581, allocations: 82 kB / 19.18 MB, free: 2.531 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.001726/0.001726, allocations: 164.6 kB / 22.45 MB, free: 5.363 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.455/1.455, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.7 MB / 413.9 MB, free: 5.156 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.823e-06/1.823e-06, allocations: 0 / 0.6187 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.262e-05, allocations: 8.688 kB / 0.6188 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0163/0.01633, allocations: 10.17 MB / 0.6287 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.03276, allocations: 8.374 MB / 0.6369 GB, free: 1.926 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.03451, allocations: 79.31 kB / 0.6369 GB, free: 1.848 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005113/0.03963, allocations: 1.66 MB / 0.6386 GB, free: 188 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.04524, allocations: 1.588 MB / 0.6401 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.04736, allocations: 0.674 MB / 0.6408 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003677/0.05104, allocations: 2.302 MB / 0.643 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.05318, allocations: 1.137 MB / 0.6441 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/0.0561, allocations: 1.383 MB / 0.6455 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.05811, allocations: 0.8882 MB / 0.6464 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003951/0.05851, allocations: 140 kB / 0.6465 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.06025, allocations: 0.7482 MB / 0.6472 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000748/0.061, allocations: 0.5762 MB / 0.6478 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.06201, allocations: 0.6039 MB / 0.6484 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003943/0.06595, allocations: 2.617 MB / 0.6509 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.06595, allocations: 0 / 0.6509 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.103e-06/0.06596, allocations: 0 / 0.6509 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.566e-05/0.06602, allocations: 0 / 0.6509 GB, free: 3.469 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.004031/0.07005, allocations: 1.995 MB / 0.6529 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.0701, allocations: 12.03 kB / 0.6529 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/0.08105, allocations: 2.059 MB / 0.6549 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.08437, allocations: 1.133 MB / 0.656 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/0.08446, allocations: 90.69 kB / 0.6561 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003197/0.08478, allocations: 116.4 kB / 0.6562 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005977/0.09076, allocations: 2.885 MB / 0.659 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/0.09081, allocations: 11.83 kB / 0.659 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.09095, allocations: 55.98 kB / 0.6591 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003413/0.09129, allocations: 130.1 kB / 0.6592 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006902/0.0982, allocations: 2.537 MB / 0.6617 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.1109, allocations: 7.424 MB / 0.6689 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005886/0.1168, allocations: 1.854 MB / 0.6707 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/0.1194, allocations: 0.9388 MB / 0.6717 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.832e-05/0.1194, allocations: 4.5 kB / 0.6717 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.1195, allocations: 43.06 kB / 0.6717 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.505e-06/0.1195, allocations: 0 / 0.6717 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.0315/0.151, allocations: 8.621 MB / 0.6801 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.151, allocations: 60.06 kB / 0.6802 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.1524, allocations: 0.9671 MB / 0.6811 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.1526, allocations: 37.7 kB / 0.6812 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006763/0.1532, allocations: 0.7619 MB / 0.6819 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.1536, allocations: 293.4 kB / 0.6822 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004297/0.154, allocations: 198.5 kB / 0.6824 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1542, allocations: 349.9 kB / 0.6827 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/0.1572, allocations: 1.079 MB / 0.6838 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003075/0.1602, allocations: 1.301 MB / 0.685 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005893/0.1661, allocations: 2.386 MB / 0.6874 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1661, allocations: 0 / 0.6874 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00881/0.1749, allocations: 3.238 MB / 0.6905 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.175, allocations: 11.06 kB / 0.6905 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.175, allocations: 8 kB / 0.6905 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0029/0.1779, allocations: 0.7949 MB / 0.6913 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.1798, allocations: 419.3 kB / 0.6917 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3433/0.5231, allocations: 14.78 MB / 0.7062 GB, free: 78.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/0.5256, allocations: 287.7 kB / 0.7064 GB, free: 78.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.5257, allocations: 54.53 kB / 0.7065 GB, free: 78.58 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.0008384/0.5266, allocations: 400.1 kB / 0.7069 GB, free: 78.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/0.5269, allocations: 136.7 kB / 0.707 GB, free: 78.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008549/0.5355, allocations: 3.174 MB / 0.7101 GB, free: 77.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.5355, allocations: 8.312 kB / 0.7101 GB, free: 77.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.5355, allocations: 7.688 kB / 0.7101 GB, free: 77.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.5355, allocations: 3.328 kB / 0.7101 GB, free: 77.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.546, allocations: 4.466 MB / 0.7145 GB, free: 75.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.546, allocations: 3.875 kB / 0.7145 GB, free: 75.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/0.5476, allocations: 356.8 kB / 0.7148 GB, free: 75.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002331/0.5499, allocations: 0.6912 MB / 0.7155 GB, free: 75.67 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.55, allocations: 33.03 kB / 0.7155 GB, free: 75.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.5633, allocations: 14.42 MB / 0.7296 GB, free: 64.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.5633, allocations: 6.625 kB / 0.7296 GB, free: 64.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007755/0.5711, allocations: 2.998 MB / 0.7325 GB, free: 63.06 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007394/0.5718, allocations: 294.3 kB / 0.7328 GB, free: 62.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.572, allocations: 17.86 kB / 0.7328 GB, free: 62.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/0.5736, allocations: 296.7 kB / 0.7331 GB, free: 62.89 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/0.574, allocations: 85.59 kB / 0.7332 GB, free: 62.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.093e-05/0.574, allocations: 38.56 kB / 0.7332 GB, free: 62.86 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000857/0.5749, allocations: 0.6353 MB / 0.7339 GB, free: 62.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.5749, allocations: 3.828 kB / 0.7339 GB, free: 62.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001885/0.5768, allocations: 436 kB / 0.7343 GB, free: 62.56 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.0003182/0.5771, allocations: 130.7 kB / 0.7344 GB, free: 62.45 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007978/0.5851, allocations: 3.511 MB / 0.7378 GB, free: 60.89 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.5851, allocations: 1.094 kB / 0.7378 GB, free: 60.89 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004981/0.5901, allocations: 2.313 MB / 0.7401 GB, free: 59.55 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.5927, allocations: 481.9 kB / 0.7405 GB, free: 59.33 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008647/0.6013, allocations: 3.456 MB / 0.7439 GB, free: 57.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009939/0.6023, allocations: 0.8038 MB / 0.7447 GB, free: 56.88 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001497/0.6038, allocations: 358.6 kB / 0.745 GB, free: 56.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.6041, allocations: 106.7 kB / 0.7451 GB, free: 56.66 MB / 0.6075 GB Notification: Performance of SimCode: time 8.21e-07/0.6041, allocations: 0 / 0.7451 GB, free: 56.66 MB / 0.6075 GB Notification: Performance of Templates: time 0.03811/0.6422, allocations: 30.99 MB / 0.7754 GB, free: 30.91 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.171625342220068] Failed to read output from testmodel.py, exit status != 0: 0.6510889790952206 0.6638559869999999 0.5945481 Calling exit ...