Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001221/0.001221, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001162/0.001162, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.967/0.967, allocations: 230.6 MB / 256 MB, free: 9.613 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.7795/0.7795, allocations: 203.5 MB / 0.5039 GB, free: 10.73 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.001679/0.001679, allocations: 65.61 kB / 0.7178 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5099, allocations: 102 MB / 0.8174 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01734/0.5272, allocations: 19.51 MB / 0.8365 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008546/0.5358, allocations: 6.471 MB / 0.8428 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008662/0.5366, allocations: 119.2 kB / 0.8429 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.5392, allocations: 2.241 MB / 0.8451 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.5408, allocations: 1.248 MB / 0.8463 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.5426, allocations: 1.291 MB / 0.8476 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003152/0.5458, allocations: 4.846 MB / 0.8523 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.5485, allocations: 3.143 MB / 0.8554 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.5503, allocations: 2.169 MB / 0.8575 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.5522, allocations: 2.323 MB / 0.8597 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004178/0.5526, allocations: 430.1 kB / 0.8602 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.5539, allocations: 0.9417 MB / 0.8611 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.555, allocations: 1.711 MB / 0.8627 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.5562, allocations: 1.561 MB / 0.8643 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004755/0.561, allocations: 6.563 MB / 0.8707 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.561, allocations: 0 / 0.8707 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.625e-06/0.561, allocations: 0 / 0.8707 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.044e-05/0.561, allocations: 0 / 0.8707 GB, free: 14.7 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004948/0.566, allocations: 3.463 MB / 0.8741 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.566, allocations: 12.02 kB / 0.8741 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003962/0.5664, allocations: 450.6 kB / 0.8745 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.5684, allocations: 0.6545 MB / 0.8751 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.5707, allocations: 1.994 MB / 0.8771 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5708, allocations: 222.3 kB / 0.8773 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/0.5711, allocations: 304 kB / 0.8776 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00493/0.576, allocations: 5.242 MB / 0.8827 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-05/0.5761, allocations: 7.938 kB / 0.8827 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/0.5763, allocations: 132 kB / 0.8828 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/0.5765, allocations: 229.7 kB / 0.8831 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003569/0.5801, allocations: 3.746 MB / 0.8867 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.5908, allocations: 13.58 MB / 0.9 GB, free: 0.6172 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.592, allocations: 1.223 MB / 0.9012 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008881/0.5928, allocations: 0.9957 MB / 0.9021 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/0.5929, allocations: 9 kB / 0.9022 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.5929, allocations: 47.56 kB / 0.9022 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 2.144e-06/0.5929, allocations: 0 / 0.9022 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.01324/0.6062, allocations: 8.428 MB / 0.9104 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.6062, allocations: 64.72 kB / 0.9105 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009957/0.6072, allocations: 1.154 MB / 0.9116 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.6073, allocations: 45.7 kB / 0.9117 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000591/0.6079, allocations: 1.339 MB / 0.913 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.6081, allocations: 0.4996 MB / 0.9135 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.6084, allocations: 291.5 kB / 0.9137 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.6085, allocations: 313 kB / 0.914 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008201/0.6093, allocations: 0.9135 MB / 0.9149 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.6106, allocations: 1.322 MB / 0.9162 GB, free: 15.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.6125, allocations: 2.43 MB / 0.9186 GB, free: 13.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6125, allocations: 4 kB / 0.9186 GB, free: 13.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003488/0.616, allocations: 3.433 MB / 0.9219 GB, free: 9.684 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.6161, allocations: 12 kB / 0.922 GB, free: 9.672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.6161, allocations: 12 kB / 0.922 GB, free: 9.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/0.6181, allocations: 1.183 MB / 0.9231 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.6186, allocations: 259.6 kB / 0.9234 GB, free: 8.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.6294, allocations: 13.35 MB / 0.9364 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/0.63, allocations: 87.98 kB / 0.9365 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.306e-05/0.6301, allocations: 63.98 kB / 0.9366 GB, free: 10.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001359/0.6315, allocations: 1.107 MB / 0.9376 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.6316, allocations: 174.9 kB / 0.9378 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/0.6349, allocations: 3.13 MB / 0.9409 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.6349, allocations: 15.94 kB / 0.9409 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6349, allocations: 15.94 kB / 0.9409 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.6349, allocations: 11.97 kB / 0.9409 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006569/0.6415, allocations: 5.901 MB / 0.9467 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.6415, allocations: 8.5 kB / 0.9467 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.6418, allocations: 143.8 kB / 0.9468 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/0.6433, allocations: 1.071 MB / 0.9479 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.6434, allocations: 35.92 kB / 0.9479 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/0.6537, allocations: 13.04 MB / 0.9606 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6537, allocations: 4 kB / 0.9606 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.6568, allocations: 3.124 MB / 0.9637 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005051/0.6573, allocations: 358.8 kB / 0.964 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.6574, allocations: 40.3 kB / 0.9641 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008256/0.6582, allocations: 79.91 kB / 0.9641 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.6584, allocations: 132.6 kB / 0.9643 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.6585, allocations: 40 kB / 0.9643 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006758/0.6591, allocations: 0.7671 MB / 0.965 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.6591, allocations: 3.938 kB / 0.9651 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001448/0.6606, allocations: 0.6602 MB / 0.9657 GB, free: 11.94 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003185/0.6638, allocations: 3.694 MB / 0.9693 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003237/0.667, allocations: 3.02 MB / 0.9723 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.667, allocations: 0 / 0.9723 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.6687, allocations: 1.881 MB / 0.9741 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.6699, allocations: 0.4966 MB / 0.9746 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/0.6891, allocations: 19.19 MB / 0.9933 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.6906, allocations: 1.765 MB / 0.995 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0007058/0.6913, allocations: 358.1 kB / 0.9954 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007641/0.6921, allocations: 1.011 MB / 0.9964 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of SimCode: time 1.763e-06/0.6921, allocations: 0 / 0.9964 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06224/0.7543, allocations: 55.84 MB / 1.051 GB, free: 4.562 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.633, allocations: 14.5 kB / 1.051 GB, free: 4.551 MB / 0.823 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.645137807819992] Failed to read output from testmodel.py, exit status != 0: 8.736411038320512 8.748092497 8.185201388 Calling exit ...