Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLine.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.0007939/0.0007939, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0008443/0.0008443, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8725/0.8725, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.6987/0.6987, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLine") translateModel(IDEAS.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLine") [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.0008798/0.0008798, allocations: 72.11 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.5028/0.5037, allocations: 102 MB / 0.7191 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.DCLine): time 0.005575/0.5092, allocations: 5.991 MB / 0.7249 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004244/0.5135, allocations: 4.342 MB / 0.7292 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.5137, allocations: 32.22 kB / 0.7292 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.5153, allocations: 0.9176 MB / 0.7301 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.5165, allocations: 0.7929 MB / 0.7309 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.5169, allocations: 325.8 kB / 0.7312 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.518, allocations: 1.162 MB / 0.7323 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006647/0.5186, allocations: 0.5711 MB / 0.7329 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006635/0.5193, allocations: 0.6925 MB / 0.7336 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005393/0.5198, allocations: 479.9 kB / 0.734 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.27e-05/0.5199, allocations: 70.78 kB / 0.7341 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.5203, allocations: 261.5 kB / 0.7343 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.5205, allocations: 261.9 kB / 0.7346 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.5208, allocations: 335.5 kB / 0.7349 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.522, allocations: 1.147 MB / 0.736 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.522, allocations: 2.125 kB / 0.736 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/0.522, allocations: 0 / 0.736 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.522, allocations: 7.875 kB / 0.736 GB, free: 13.64 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001351/0.5234, allocations: 1.051 MB / 0.7371 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5234, allocations: 9 kB / 0.7371 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.5252, allocations: 0.6283 MB / 0.7377 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/0.5259, allocations: 0.5086 MB / 0.7382 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.526, allocations: 38.73 kB / 0.7382 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.559e-05/0.526, allocations: 54.3 kB / 0.7383 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.5277, allocations: 1.26 MB / 0.7395 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.5277, allocations: 1.375 kB / 0.7395 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.5277, allocations: 26.45 kB / 0.7395 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/0.5278, allocations: 50.19 kB / 0.7396 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.5295, allocations: 1.005 MB / 0.7406 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.5317, allocations: 2.277 MB / 0.7428 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008982/0.5326, allocations: 485.3 kB / 0.7432 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.5329, allocations: 210.9 kB / 0.7434 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.533, allocations: 3.938 kB / 0.7435 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.533, allocations: 37.8 kB / 0.7435 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 2.134e-06/0.533, allocations: 0 / 0.7435 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43): time 0.004088/0.5371, allocations: 2.015 MB / 0.7455 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/0.5371, allocations: 61.22 kB / 0.7455 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.5376, allocations: 488.3 kB / 0.746 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.5376, allocations: 37.02 kB / 0.746 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.5378, allocations: 371 kB / 0.7464 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.894e-05/0.5379, allocations: 157.8 kB / 0.7465 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.538, allocations: 91.88 kB / 0.7466 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.538, allocations: 365.5 kB / 0.747 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.5385, allocations: 274.3 kB / 0.7472 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.5389, allocations: 371.1 kB / 0.7476 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009058/0.5398, allocations: 0.6422 MB / 0.7482 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5398, allocations: 1.031 kB / 0.7482 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001574/0.5414, allocations: 0.9848 MB / 0.7492 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5414, allocations: 11.34 kB / 0.7492 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.5414, allocations: 3.75 kB / 0.7492 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007822/0.5422, allocations: 334.1 kB / 0.7495 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.5425, allocations: 111.9 kB / 0.7496 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.5465, allocations: 8.505 MB / 0.7579 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.5468, allocations: 42.56 kB / 0.7579 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.5468, allocations: 19.89 kB / 0.758 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006051/0.5474, allocations: 451.7 kB / 0.7584 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004659/0.5479, allocations: 368 kB / 0.7587 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008322/0.5487, allocations: 0.6385 MB / 0.7594 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.5487, allocations: 1.438 kB / 0.7594 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001422/0.5501, allocations: 0.9406 MB / 0.7603 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.5501, allocations: 6.781 kB / 0.7603 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.5501, allocations: 2.406 kB / 0.7603 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.5507, allocations: 295.5 kB / 0.7606 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.551, allocations: 117.8 kB / 0.7607 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/0.5551, allocations: 8.38 MB / 0.7689 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/0.5553, allocations: 45.69 kB / 0.7689 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.5553, allocations: 18.38 kB / 0.7689 GB, free: 5.488 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.5555, allocations: 210.4 kB / 0.7691 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.5556, allocations: 61.12 kB / 0.7692 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.073e-05/0.5556, allocations: 76 kB / 0.7693 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5556, allocations: 3.984 kB / 0.7693 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5556, allocations: 1.156 kB / 0.7693 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.5558, allocations: 102.5 kB / 0.7694 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.5558, allocations: 9.562 kB / 0.7694 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.556, allocations: 43.2 kB / 0.7694 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.5562, allocations: 45.12 kB / 0.7695 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00144/0.5576, allocations: 0.9453 MB / 0.7704 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001295/0.5589, allocations: 1.069 MB / 0.7714 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000369/0.5593, allocations: 266.3 kB / 0.7717 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002647/0.5595, allocations: 333.4 kB / 0.772 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of Backend: time 3.4e-07/0.5595, allocations: 1.375 kB / 0.772 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.562, allocations: 2.317 MB / 0.7743 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of SimCode: time 0.001847/0.5638, allocations: 1.906 MB / 0.7761 GB, free: 272 kB / 0.6511 GB Notification: Performance of Templates: time 0.0176/0.5814, allocations: 17.69 MB / 0.7934 GB, free: 4.25 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLine.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.534747841069475] Failed to read output from testmodel.py, exit status != 0: 0.5866457340307534 0.59447175 0.070729309 Calling exit ...