Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.0008272/0.0008272, 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.001004/0.001004, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9743/0.9743, allocations: 230.6 MB / 256 MB, free: 9.625 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.7688/0.7688, allocations: 203.5 MB / 0.5039 GB, free: 10.72 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_L_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001471/0.001471, allocations: 66.34 kB / 0.7178 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5031/0.5045, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02942/0.534, allocations: 33.75 MB / 0.8504 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.5506, allocations: 11.55 MB / 0.8616 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/0.554, allocations: 211.1 kB / 0.8618 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.007246/0.5613, allocations: 4.269 MB / 0.866 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006827/0.5681, allocations: 2.088 MB / 0.868 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007179/0.5753, allocations: 2.409 MB / 0.8704 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01164/0.5869, allocations: 8.467 MB / 0.8787 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/0.5973, allocations: 6.161 MB / 0.8847 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006568/0.6038, allocations: 3.876 MB / 0.8885 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005585/0.6094, allocations: 4.154 MB / 0.8925 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.611, allocations: 0.7812 MB / 0.8933 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003958/0.6149, allocations: 1.892 MB / 0.8951 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002733/0.6176, allocations: 3.141 MB / 0.8982 GB, free: 3.07 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004026/0.6217, allocations: 2.747 MB / 0.9009 GB, free: 320 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.6339, allocations: 12.07 MB / 0.9127 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.6339, allocations: 0 / 0.9127 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.534e-06/0.6339, allocations: 0 / 0.9127 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003875/0.6343, allocations: 0 / 0.9127 GB, free: 4.207 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01272/0.647, allocations: 5.875 MB / 0.9184 GB, free: 14.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6471, allocations: 8.031 kB / 0.9184 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001084/0.6482, allocations: 0.8012 MB / 0.9192 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003709/0.6519, allocations: 1.094 MB / 0.9203 GB, free: 12.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/0.6568, allocations: 3.422 MB / 0.9236 GB, free: 8.863 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.657, allocations: 411.5 kB / 0.924 GB, free: 8.461 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000787/0.6578, allocations: 0.547 MB / 0.9245 GB, free: 7.914 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.6735, allocations: 9.372 MB / 0.9337 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001527/0.6737, allocations: 27.81 kB / 0.9337 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006095/0.6743, allocations: 240 kB / 0.9339 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002855/0.6746, allocations: 354.7 kB / 0.9343 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.6866, allocations: 6.814 MB / 0.9409 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02722/0.7138, allocations: 25.13 MB / 0.9655 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.7162, allocations: 2.296 MB / 0.9677 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.7179, allocations: 1.767 MB / 0.9694 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.43e-05/0.7179, allocations: 25.94 kB / 0.9695 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.718, allocations: 52.55 kB / 0.9695 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=179): time 4.348e-06/0.718, allocations: 0 / 0.9695 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=182): time 0.01475/0.7327, allocations: 9.679 MB / 0.979 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.7328, allocations: 73.34 kB / 0.979 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.7344, allocations: 1.569 MB / 0.9806 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.7345, allocations: 57.7 kB / 0.9806 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009799/0.7355, allocations: 2.327 MB / 0.9829 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004061/0.7359, allocations: 0.6584 MB / 0.9835 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003894/0.7363, allocations: 408.1 kB / 0.9839 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.7364, allocations: 305.1 kB / 0.9842 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.7375, allocations: 1.179 MB / 0.9854 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.7391, allocations: 1.877 MB / 0.9872 GB, free: 6.27 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/0.7421, allocations: 3.375 MB / 0.9905 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.69e-05/0.7421, allocations: 8 kB / 0.9905 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005728/0.7478, allocations: 4.539 MB / 0.9949 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.7479, allocations: 12 kB / 0.995 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/0.7479, allocations: 24.91 kB / 0.995 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/0.7502, allocations: 1.587 MB / 0.9965 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.7509, allocations: 351.4 kB / 0.9969 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/0.7654, allocations: 17.95 MB / 1.014 GB, free: 9.648 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.7666, allocations: 123.8 kB / 1.015 GB, free: 9.527 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.7667, allocations: 99.98 kB / 1.015 GB, free: 9.43 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002436/0.7692, allocations: 1.891 MB / 1.016 GB, free: 7.527 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/0.7696, allocations: 238.5 kB / 1.017 GB, free: 7.293 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/0.7738, allocations: 4.036 MB / 1.021 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.7738, allocations: 20 kB / 1.021 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/0.7739, allocations: 16 kB / 1.021 GB, free: 3.191 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.7739, allocations: 11.91 kB / 1.021 GB, free: 3.18 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.7842, allocations: 8.67 MB / 1.029 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.7842, allocations: 4 kB / 1.029 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.7847, allocations: 187.7 kB / 1.029 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002029/0.7867, allocations: 1.345 MB / 1.031 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.727e-05/0.7868, allocations: 36 kB / 1.031 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/0.7999, allocations: 16.73 MB / 1.047 GB, free: 7.602 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7999, allocations: 4 kB / 1.047 GB, free: 7.598 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004258/0.8041, allocations: 4.04 MB / 1.051 GB, free: 3.465 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000796/0.8049, allocations: 470.4 kB / 1.051 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.8051, allocations: 48.11 kB / 1.051 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/0.8056, allocations: 87.89 kB / 1.052 GB, free: 2.871 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005878/0.8062, allocations: 169.5 kB / 1.052 GB, free: 2.703 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.363e-05/0.8062, allocations: 48 kB / 1.052 GB, free: 2.656 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009932/0.8072, allocations: 1.005 MB / 1.053 GB, free: 1.629 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8072, allocations: 0 / 1.053 GB, free: 1.629 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002319/0.8095, allocations: 0.9883 MB / 1.054 GB, free: 0.6406 MB / 0.823 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004203/0.8137, allocations: 4.622 MB / 1.058 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004712/0.8185, allocations: 4.163 MB / 1.062 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.8185, allocations: 0 / 1.062 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002603/0.8211, allocations: 2.576 MB / 1.065 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.8232, allocations: 0.7892 MB / 1.066 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03004/0.8533, allocations: 27.01 MB / 1.092 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003986/0.8572, allocations: 3.043 MB / 1.095 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001281/0.8585, allocations: 463.9 kB / 1.095 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/0.8601, allocations: 1.784 MB / 1.097 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of SimCode: time 1.874e-06/0.8601, allocations: 0 / 1.097 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4226/1.283, allocations: 78.52 MB / 1.174 GB, free: 276.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/9.677, allocations: 6.703 kB / 1.174 GB, free: 276.8 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.762413335964084] Failed to read output from testmodel.py, exit status != 0: 9.790967328939587 9.800173169 9.16445697 Calling exit ...