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.0008231/0.0008231, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.000845/0.000845, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8677/0.8677, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7114/0.7114, allocations: 154.6 MB / 413.8 MB, free: 0.8242 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: "" <> 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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6181 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.337e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01425/0.01427, allocations: 19.11 MB / 0.6368 GB, free: 9.363 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006795/0.02107, allocations: 6.394 MB / 0.643 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007711/0.02184, allocations: 115.1 kB / 0.6431 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.0243, allocations: 2.254 MB / 0.6453 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.2637/0.288, allocations: 1.272 MB / 0.6466 GB, free: 18.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.2908, allocations: 1.295 MB / 0.6478 GB, free: 18.97 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004727/0.2955, allocations: 4.945 MB / 0.6527 GB, free: 18.23 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004417/0.2999, allocations: 3.162 MB / 0.6558 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004233/0.3041, allocations: 3.011 MB / 0.6587 GB, free: 17.19 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.3064, allocations: 2.189 MB / 0.6608 GB, free: 16.68 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004377/0.3068, allocations: 429.6 kB / 0.6612 GB, free: 16.68 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.3083, allocations: 0.9559 MB / 0.6622 GB, free: 16.57 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.3094, allocations: 1.788 MB / 0.6639 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.3105, allocations: 1.332 MB / 0.6652 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00448/0.315, allocations: 6.65 MB / 0.6717 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.315, allocations: 2 kB / 0.6717 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.794e-06/0.315, allocations: 0 / 0.6717 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.352e-05/0.315, allocations: 0 / 0.6717 GB, free: 13.36 MB / 0.5573 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.003639/0.3187, allocations: 3.428 MB / 0.6751 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3187, allocations: 13.59 kB / 0.6751 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003932/0.3191, allocations: 456.9 kB / 0.6755 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.3208, allocations: 0.6572 MB / 0.6762 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.3229, allocations: 1.992 MB / 0.6781 GB, free: 9.59 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.323, allocations: 222.3 kB / 0.6783 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003468/0.3234, allocations: 299.3 kB / 0.6786 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0048/0.3282, allocations: 5.241 MB / 0.6837 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-05/0.3282, allocations: 12.7 kB / 0.6837 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.3285, allocations: 132.4 kB / 0.6839 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002608/0.3287, allocations: 227.5 kB / 0.6841 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.3325, allocations: 3.748 MB / 0.6877 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.3432, allocations: 13.56 MB / 0.701 GB, free: 9.871 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.3443, allocations: 1.224 MB / 0.7022 GB, free: 9.035 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009036/0.3452, allocations: 0.9875 MB / 0.7031 GB, free: 8.051 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.3452, allocations: 13 kB / 0.7032 GB, free: 8.039 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3453, allocations: 47.5 kB / 0.7032 GB, free: 7.98 MB / 0.573 GB Notification: Performance of pre-optimization done (n=107): time 2.615e-06/0.3453, allocations: 3.375 kB / 0.7032 GB, free: 7.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=138): time 0.01275/0.358, allocations: 8.432 MB / 0.7114 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.358, allocations: 68.72 kB / 0.7115 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009301/0.359, allocations: 1.146 MB / 0.7126 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.359, allocations: 49.7 kB / 0.7127 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005501/0.3596, allocations: 1.337 MB / 0.714 GB, free: 13 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.3598, allocations: 499.2 kB / 0.7144 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004446/0.3603, allocations: 295.5 kB / 0.7147 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.3604, allocations: 305.1 kB / 0.715 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.3617, allocations: 0.9135 MB / 0.7159 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.3633, allocations: 1.321 MB / 0.7172 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/0.3657, allocations: 2.422 MB / 0.7196 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3657, allocations: 4 kB / 0.7196 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00371/0.3694, allocations: 3.44 MB / 0.7229 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3694, allocations: 14.59 kB / 0.7229 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3694, allocations: 16 kB / 0.723 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/0.3718, allocations: 1.184 MB / 0.7241 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007813/0.3726, allocations: 260.7 kB / 0.7244 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/0.3899, allocations: 13.33 MB / 0.7374 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.3912, allocations: 95.91 kB / 0.7375 GB, free: 4.461 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.3914, allocations: 71.55 kB / 0.7375 GB, free: 4.395 MB / 0.6042 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.002323/0.3937, allocations: 1.106 MB / 0.7386 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.3939, allocations: 167 kB / 0.7388 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005258/0.3992, allocations: 3.14 MB / 0.7418 GB, free: 8 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.3992, allocations: 15.98 kB / 0.7419 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.3992, allocations: 12.38 kB / 0.7419 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.3992, allocations: 7.922 kB / 0.7419 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006514/0.4057, allocations: 5.916 MB / 0.7477 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4057, allocations: 4 kB / 0.7477 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.4061, allocations: 142.9 kB / 0.7478 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/0.4076, allocations: 1.074 MB / 0.7488 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/0.4077, allocations: 28 kB / 0.7489 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.4185, allocations: 13.04 MB / 0.7616 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.4185, allocations: 7.469 kB / 0.7616 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.422, allocations: 3.105 MB / 0.7646 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005542/0.4226, allocations: 362.9 kB / 0.765 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.4227, allocations: 39.92 kB / 0.765 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.4231, allocations: 83.28 kB / 0.7651 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.4234, allocations: 136.1 kB / 0.7652 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.4234, allocations: 43.94 kB / 0.7653 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007325/0.4241, allocations: 0.7632 MB / 0.766 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4241, allocations: 0 / 0.766 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001424/0.4256, allocations: 0.6602 MB / 0.7667 GB, free: 6.215 MB / 0.6355 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.003188/0.4288, allocations: 3.688 MB / 0.7703 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003137/0.4319, allocations: 3.007 MB / 0.7732 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4319, allocations: 0 / 0.7732 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.4335, allocations: 1.877 MB / 0.775 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.4347, allocations: 0.5113 MB / 0.7755 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/0.4545, allocations: 19.21 MB / 0.7943 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/0.4561, allocations: 1.765 MB / 0.796 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007668/0.4569, allocations: 354.1 kB / 0.7964 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007837/0.4576, allocations: 1.004 MB / 0.7973 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of SimCode: time 1.383e-06/0.4576, allocations: 0 / 0.7973 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06974/0.5274, allocations: 55.85 MB / 0.8519 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.912, allocations: 3.938 kB / 0.8519 GB, free: 15.34 MB / 0.7292 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.618437408469617] Failed to read output from testmodel.py, exit status != 0: 9.017869190312922 9.025572892 8.708846015 Calling exit ...