Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.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.0007808/0.0007808, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 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.000832/0.000832, allocations: 209.2 kB / 22.24 MB, free: 3.57 MB / 13.93 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.9462/0.9462, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.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.7664/0.7664, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [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.0009837/0.0009837, allocations: 73.08 kB / 0.7178 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5215/0.5225, allocations: 102 MB / 0.8174 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006456/0.5289, allocations: 6.552 MB / 0.8238 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004254/0.5332, allocations: 3.074 MB / 0.8268 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005707/0.5338, allocations: 39.22 kB / 0.8268 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.5356, allocations: 0.9491 MB / 0.8277 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.5371, allocations: 0.5213 MB / 0.8283 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.5382, allocations: 445.6 kB / 0.8287 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.5397, allocations: 1.232 MB / 0.8299 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008815/0.5406, allocations: 0.5321 MB / 0.8304 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009422/0.5415, allocations: 495.7 kB / 0.8309 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008766/0.5424, allocations: 0.5205 MB / 0.8314 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.5425, allocations: 66.47 kB / 0.8314 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007186/0.5433, allocations: 338.5 kB / 0.8318 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.5436, allocations: 318.4 kB / 0.8321 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004372/0.544, allocations: 380.4 kB / 0.8324 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.5455, allocations: 1.24 MB / 0.8336 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5455, allocations: 0 / 0.8336 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5455, allocations: 3.938 kB / 0.8336 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.296e-05/0.5456, allocations: 0 / 0.8336 GB, free: 7.91 MB / 0.6198 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.001802/0.5474, allocations: 1.118 MB / 0.8347 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5474, allocations: 9.75 kB / 0.8348 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001274/0.5475, allocations: 119.3 kB / 0.8349 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.5486, allocations: 242.8 kB / 0.8351 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007903/0.5494, allocations: 0.5383 MB / 0.8356 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.5494, allocations: 47.81 kB / 0.8357 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.5495, allocations: 69.75 kB / 0.8357 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.5508, allocations: 1.338 MB / 0.837 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.5508, allocations: 7.531 kB / 0.837 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.993e-05/0.5509, allocations: 28.91 kB / 0.8371 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.551, allocations: 85.53 kB / 0.8372 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009383/0.5519, allocations: 0.7467 MB / 0.8379 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/0.5553, allocations: 4.638 MB / 0.8424 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.5561, allocations: 0.5065 MB / 0.8429 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.5564, allocations: 290.7 kB / 0.8432 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.5564, allocations: 6.406 kB / 0.8432 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.5564, allocations: 41.56 kB / 0.8432 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.5564, allocations: 4 kB / 0.8432 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002488/0.5589, allocations: 1.684 MB / 0.8449 GB, free: 84 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.5589, allocations: 56.53 kB / 0.8449 GB, free: 20 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.5595, allocations: 0.5778 MB / 0.8455 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.5595, allocations: 35.64 kB / 0.8455 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.5597, allocations: 430.3 kB / 0.8459 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.5598, allocations: 180.5 kB / 0.8461 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.56, allocations: 128.1 kB / 0.8462 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5601, allocations: 377.6 kB / 0.8466 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.5604, allocations: 275.3 kB / 0.8469 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.5608, allocations: 495.1 kB / 0.8473 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007596/0.5615, allocations: 0.8082 MB / 0.8481 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.5615, allocations: 2.031 kB / 0.8481 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001247/0.5628, allocations: 1.08 MB / 0.8492 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.5628, allocations: 7.375 kB / 0.8492 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.5628, allocations: 7.875 kB / 0.8492 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005334/0.5634, allocations: 281 kB / 0.8495 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.5636, allocations: 125.6 kB / 0.8496 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004339/0.568, allocations: 6.691 MB / 0.8561 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.5685, allocations: 33.91 kB / 0.8561 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.5685, allocations: 34.94 kB / 0.8562 GB, free: 6.621 MB / 0.6355 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.0003432/0.5689, allocations: 255.8 kB / 0.8564 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.702e-05/0.5689, allocations: 76.09 kB / 0.8565 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.57, allocations: 0.8807 MB / 0.8574 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.57, allocations: 4.688 kB / 0.8574 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.57, allocations: 4.375 kB / 0.8574 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.57, allocations: 4.172 kB / 0.8574 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.5718, allocations: 1.606 MB / 0.8589 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.5718, allocations: 9.562 kB / 0.8589 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.572, allocations: 63.66 kB / 0.859 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.5724, allocations: 266.5 kB / 0.8593 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.5725, allocations: 15.98 kB / 0.8593 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004387/0.5769, allocations: 6.665 MB / 0.8658 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5769, allocations: 1.312 kB / 0.8658 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.578, allocations: 0.9795 MB / 0.8667 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.5782, allocations: 124.1 kB / 0.8669 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.5783, allocations: 11.66 kB / 0.8669 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.5785, allocations: 29.12 kB / 0.8669 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.5786, allocations: 48.08 kB / 0.8669 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.5786, allocations: 11.44 kB / 0.867 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003784/0.579, allocations: 395.5 kB / 0.8673 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.579, allocations: 0 / 0.8673 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007515/0.5797, allocations: 225.6 kB / 0.8676 GB, free: 13.5 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.001356/0.5811, allocations: 1.533 MB / 0.869 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.5825, allocations: 1.236 MB / 0.8703 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5825, allocations: 0 / 0.8703 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.5832, allocations: 0.8634 MB / 0.8711 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.584, allocations: 224.9 kB / 0.8713 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/0.591, allocations: 6.397 MB / 0.8776 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.5913, allocations: 424.8 kB / 0.878 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003545/0.5917, allocations: 126 kB / 0.8781 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.5919, allocations: 255.3 kB / 0.8783 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/0.5919, allocations: 0 / 0.8783 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.6292, allocations: 19.34 MB / 0.8972 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.966, allocations: 6.359 kB / 0.8972 GB, free: 2.355 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.924798103049397] Failed to read output from testmodel.py, exit status != 0: 8.055513095110655 8.064782924 7.517484829 Calling exit ...