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.001014/0.001014, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001145/0.001145, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9689/0.9689, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.7599/0.7599, allocations: 154.6 MB / 415.6 MB, free: 0.5234 MB / 378.7 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 179] 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.503e-06/1.503e-06, allocations: 0 / 0.5215 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.053e-05, allocations: 2.312 kB / 0.5215 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009552/0.009583, allocations: 7.619 MB / 0.529 GB, free: 9.211 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009722/0.0193, allocations: 5.797 MB / 0.5346 GB, free: 3.43 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.02074, allocations: 79.31 kB / 0.5347 GB, free: 3.352 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.02189, allocations: 362 kB / 0.5351 GB, free: 2.996 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.025, allocations: 1.437 MB / 0.5365 GB, free: 1.57 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.02611, allocations: 0.5446 MB / 0.537 GB, free: 1.027 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002647/0.02875, allocations: 2.379 MB / 0.5393 GB, free: 14.64 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.03022, allocations: 1.15 MB / 0.5404 GB, free: 13.46 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.03259, allocations: 1.556 MB / 0.542 GB, free: 11.9 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.03376, allocations: 0.8849 MB / 0.5428 GB, free: 11.02 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.03394, allocations: 132 kB / 0.543 GB, free: 10.89 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005313/0.03447, allocations: 292.4 kB / 0.5432 GB, free: 10.6 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003922/0.03486, allocations: 0.588 MB / 0.5438 GB, free: 10.01 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007235/0.03559, allocations: 0.5893 MB / 0.5444 GB, free: 9.422 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.03712, allocations: 1.413 MB / 0.5458 GB, free: 8.004 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.03712, allocations: 2.625 kB / 0.5458 GB, free: 8.004 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.03712, allocations: 0 / 0.5458 GB, free: 8.004 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.744e-05/0.03715, allocations: 0 / 0.5458 GB, free: 8.004 MB / 474.7 MB 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.002285/0.03943, allocations: 2.02 MB / 0.5477 GB, free: 5.941 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.03947, allocations: 8.906 kB / 0.5477 GB, free: 5.934 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003329/0.0428, allocations: 0.8433 MB / 0.5486 GB, free: 5.094 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.04428, allocations: 1.121 MB / 0.5497 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.04433, allocations: 86.69 kB / 0.5497 GB, free: 3.852 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.04449, allocations: 120.4 kB / 0.5499 GB, free: 3.734 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.04641, allocations: 1.613 MB / 0.5514 GB, free: 1.891 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/0.04645, allocations: 25.27 kB / 0.5515 GB, free: 1.867 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.04656, allocations: 44 kB / 0.5515 GB, free: 1.824 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/0.04676, allocations: 106.2 kB / 0.5516 GB, free: 1.719 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008292/0.04759, allocations: 0.6215 MB / 0.5522 GB, free: 1.094 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006268/0.05386, allocations: 7.338 MB / 0.5594 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009562/0.05481, allocations: 410.6 kB / 0.5598 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.05509, allocations: 200.3 kB / 0.56 GB, free: 8.969 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.05512, allocations: 13.66 kB / 0.56 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.05515, allocations: 41.89 kB / 0.56 GB, free: 8.906 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 3.216e-06/0.05516, allocations: 0 / 0.56 GB, free: 8.906 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.00533/0.06049, allocations: 2.596 MB / 0.5625 GB, free: 6.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.06052, allocations: 60.06 kB / 0.5626 GB, free: 6.246 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.06118, allocations: 0.9236 MB / 0.5635 GB, free: 5.309 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/0.06125, allocations: 41.7 kB / 0.5635 GB, free: 5.262 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003891/0.06164, allocations: 0.8128 MB / 0.5643 GB, free: 4.441 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.06183, allocations: 293.4 kB / 0.5646 GB, free: 4.152 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.06209, allocations: 204.1 kB / 0.5648 GB, free: 3.941 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.06223, allocations: 0.5205 MB / 0.5653 GB, free: 3.414 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.06254, allocations: 241.4 kB / 0.5656 GB, free: 3.184 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/0.06298, allocations: 0.5607 MB / 0.5661 GB, free: 2.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008068/0.06379, allocations: 0.8449 MB / 0.5669 GB, free: 1.539 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.0638, allocations: 4 kB / 0.5669 GB, free: 1.535 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002403/0.0662, allocations: 1.438 MB / 0.5683 GB, free: 60 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.06622, allocations: 11.94 kB / 0.5683 GB, free: 48 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.06624, allocations: 8 kB / 0.5684 GB, free: 40 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/0.06791, allocations: 0.6765 MB / 0.569 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.06849, allocations: 195.6 kB / 0.5692 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008653/0.07715, allocations: 15.26 MB / 0.5841 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008753/0.07802, allocations: 51.97 kB / 0.5842 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.0781, allocations: 43.97 kB / 0.5842 GB, free: 14.86 MB / 0.5105 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.0004146/0.07851, allocations: 216.3 kB / 0.5844 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.07875, allocations: 159.2 kB / 0.5846 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.08083, allocations: 1.326 MB / 0.5858 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.08084, allocations: 11.98 kB / 0.5859 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.08085, allocations: 12 kB / 0.5859 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.08086, allocations: 3.984 kB / 0.5859 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/0.08429, allocations: 2.272 MB / 0.5881 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.0843, allocations: 4 kB / 0.5881 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.08472, allocations: 123.8 kB / 0.5882 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/0.0862, allocations: 0.6419 MB / 0.5888 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/0.08626, allocations: 31.97 kB / 0.5889 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008408/0.09467, allocations: 15.21 MB / 0.6037 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.09467, allocations: 3.938 kB / 0.6037 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.09672, allocations: 1.368 MB / 0.6051 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.09717, allocations: 270.9 kB / 0.6053 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.09728, allocations: 16 kB / 0.6053 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/0.09777, allocations: 39.98 kB / 0.6054 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.09798, allocations: 88.38 kB / 0.6055 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.09804, allocations: 35.97 kB / 0.6055 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003954/0.09844, allocations: 0.5367 MB / 0.606 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/0.09844, allocations: 0 / 0.606 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001121/0.09956, allocations: 431.9 kB / 0.6064 GB, free: 6.863 MB / 0.5261 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.000194/0.09975, allocations: 127.1 kB / 0.6066 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.1019, allocations: 2.358 MB / 0.6089 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1019, allocations: 3.938 kB / 0.6089 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.1037, allocations: 1.96 MB / 0.6108 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.1049, allocations: 0.4993 MB / 0.6113 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.1083, allocations: 2.551 MB / 0.6138 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.1086, allocations: 399.3 kB / 0.6141 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007612/0.1094, allocations: 286.7 kB / 0.6144 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000766/0.1101, allocations: 473.8 kB / 0.6149 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of SimCode: time 1.543e-06/0.1101, allocations: 0 / 0.6149 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of Templates: time 0.2297/0.3398, allocations: 33.64 MB / 0.6477 GB, free: 110.7 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.548778850119561]