Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001208/0.001208, allocations: 80.45 kB / 19.9 MB, free: 12 kB / 13.93 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.001416/0.001416, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 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.9369/0.9369, allocations: 177.2 MB / 203.6 MB, free: 5.762 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-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 0.7541/0.7541, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 70.09 kB / 0.6195 GB, free: 13.11 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.559/0.5602, allocations: 102 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005767/0.5659, allocations: 6.417 MB / 0.7254 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003893/0.5698, allocations: 3.007 MB / 0.7283 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/0.5704, allocations: 35.59 kB / 0.7283 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.5719, allocations: 0.9595 MB / 0.7293 GB, free: 17.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.5731, allocations: 0.5256 MB / 0.7298 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.5742, allocations: 427.7 kB / 0.7302 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.5756, allocations: 1.225 MB / 0.7314 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007694/0.5764, allocations: 0.5309 MB / 0.7319 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008398/0.5772, allocations: 0.6809 MB / 0.7326 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006989/0.5779, allocations: 0.5108 MB / 0.7331 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.578, allocations: 67.19 kB / 0.7331 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008028/0.5788, allocations: 342.3 kB / 0.7335 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.5791, allocations: 319.2 kB / 0.7338 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.5795, allocations: 378.4 kB / 0.7341 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.581, allocations: 1.233 MB / 0.7353 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.581, allocations: 1.375 kB / 0.7353 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.365e-06/0.581, allocations: 0 / 0.7353 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.272e-05/0.581, allocations: 0 / 0.7353 GB, free: 14.36 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001754/0.5828, allocations: 1.11 MB / 0.7364 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.5828, allocations: 10.16 kB / 0.7364 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.5839, allocations: 242.3 kB / 0.7367 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000775/0.5847, allocations: 0.5261 MB / 0.7372 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.5848, allocations: 47.58 kB / 0.7372 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.5848, allocations: 66.31 kB / 0.7373 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.5862, allocations: 1.338 MB / 0.7386 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.5862, allocations: 6.531 kB / 0.7386 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.605e-05/0.5862, allocations: 35.16 kB / 0.7386 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/0.5864, allocations: 84.14 kB / 0.7387 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009504/0.5873, allocations: 0.7466 MB / 0.7394 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.5909, allocations: 4.516 MB / 0.7439 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008135/0.5917, allocations: 0.5197 MB / 0.7444 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.592, allocations: 294.7 kB / 0.7446 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.5921, allocations: 4.188 kB / 0.7446 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.5921, allocations: 44.06 kB / 0.7447 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 2.635e-06/0.5921, allocations: 0 / 0.7447 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002739/0.5948, allocations: 1.685 MB / 0.7463 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.5949, allocations: 56.72 kB / 0.7464 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.5955, allocations: 0.5108 MB / 0.7469 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.5955, allocations: 36.2 kB / 0.7469 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.5957, allocations: 424.3 kB / 0.7473 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.5958, allocations: 181.9 kB / 0.7475 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.596, allocations: 120.4 kB / 0.7476 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.5961, allocations: 378.7 kB / 0.748 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.5964, allocations: 271.6 kB / 0.7482 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.5968, allocations: 497.8 kB / 0.7487 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007287/0.5975, allocations: 0.8025 MB / 0.7495 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5975, allocations: 2.438 kB / 0.7495 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001308/0.5988, allocations: 1.074 MB / 0.7505 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.5989, allocations: 12.25 kB / 0.7506 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.5989, allocations: 7.781 kB / 0.7506 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.5995, allocations: 281.6 kB / 0.7508 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.5998, allocations: 124.1 kB / 0.751 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.6039, allocations: 6.595 MB / 0.7574 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.6044, allocations: 40.8 kB / 0.7574 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.6044, allocations: 27.27 kB / 0.7575 GB, free: 14.98 MB / 0.6511 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0003787/0.6048, allocations: 256.7 kB / 0.7577 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.6049, allocations: 70.33 kB / 0.7578 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.606, allocations: 0.8732 MB / 0.7586 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.606, allocations: 5.438 kB / 0.7586 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.606, allocations: 7.344 kB / 0.7586 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.606, allocations: 2.859 kB / 0.7586 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.6079, allocations: 1.533 MB / 0.7601 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.608, allocations: 1.578 kB / 0.7601 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.6081, allocations: 57.36 kB / 0.7602 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005692/0.6087, allocations: 266.2 kB / 0.7604 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.6087, allocations: 15.81 kB / 0.7605 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005221/0.6139, allocations: 6.58 MB / 0.7669 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6139, allocations: 2.562 kB / 0.7669 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.615, allocations: 0.9812 MB / 0.7678 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.6153, allocations: 114.5 kB / 0.768 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.6153, allocations: 12.12 kB / 0.768 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.6155, allocations: 32.53 kB / 0.768 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.6156, allocations: 47.41 kB / 0.768 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.6156, allocations: 15.84 kB / 0.7681 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003251/0.616, allocations: 337.4 kB / 0.7684 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.616, allocations: 0 / 0.7684 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008157/0.6168, allocations: 223.9 kB / 0.7686 GB, free: 6.906 MB / 0.6511 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.6169, allocations: 116.9 kB / 0.7687 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.6184, allocations: 1.228 MB / 0.7699 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6184, allocations: 5.031 kB / 0.7699 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.6192, allocations: 0.8668 MB / 0.7708 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006634/0.6198, allocations: 204.2 kB / 0.7709 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.6218, allocations: 1.347 MB / 0.7723 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.6221, allocations: 419.2 kB / 0.7727 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003066/0.6224, allocations: 110.5 kB / 0.7728 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.269e-05/0.6225, allocations: 39.09 kB / 0.7728 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/0.6225, allocations: 1.188 kB / 0.7728 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of Templates: time 0.01591/0.6384, allocations: 11.38 MB / 0.7839 GB, free: 14.2 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6977532668970525] Failed to read output from testmodel.py, exit status != 0: 0.645188390975818 0.654321426 0.071599786 Calling exit ...