Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0008649/0.0008649, 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.0009522/0.0009522, allocations: 209.7 kB / 22.24 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.9713/0.9713, allocations: 230.6 MB / 256 MB, free: 9.594 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.789/0.789, 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_R_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.0009777/0.0009777, allocations: 67.83 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4852, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03036/0.5155, allocations: 36.42 MB / 0.853 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01554/0.5311, allocations: 11.12 MB / 0.8638 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/0.5347, allocations: 204.9 kB / 0.864 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00605/0.5407, allocations: 4.379 MB / 0.8683 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00583/0.5466, allocations: 2.329 MB / 0.8706 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004097/0.5507, allocations: 2.179 MB / 0.8727 GB, free: 9.93 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008954/0.5596, allocations: 9.274 MB / 0.8818 GB, free: 4 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006576/0.5662, allocations: 6.324 MB / 0.8879 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0056/0.5718, allocations: 4.133 MB / 0.892 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005194/0.577, allocations: 4.462 MB / 0.8963 GB, free: 4.938 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.5781, allocations: 0.8203 MB / 0.8971 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.5806, allocations: 1.506 MB / 0.8986 GB, free: 2.609 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002383/0.5829, allocations: 3.231 MB / 0.9017 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003534/0.5865, allocations: 2.965 MB / 0.9046 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009433/0.5959, allocations: 12.41 MB / 0.9168 GB, free: 15.94 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5959, allocations: 4 kB / 0.9168 GB, free: 15.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.026e-06/0.5959, allocations: 0 / 0.9168 GB, free: 15.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003334/0.5963, allocations: 0 / 0.9168 GB, free: 15.94 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01049/0.6067, allocations: 6.395 MB / 0.923 GB, free: 9.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.6068, allocations: 11.97 kB / 0.923 GB, free: 9.469 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009386/0.6077, allocations: 0.8255 MB / 0.9238 GB, free: 8.633 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002973/0.6107, allocations: 1.102 MB / 0.9249 GB, free: 7.527 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004381/0.6151, allocations: 3.572 MB / 0.9284 GB, free: 3.895 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.6153, allocations: 431.7 kB / 0.9288 GB, free: 3.473 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004909/0.6158, allocations: 0.5394 MB / 0.9293 GB, free: 2.934 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009621/0.6254, allocations: 10.29 MB / 0.9394 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.689e-05/0.6255, allocations: 23.77 kB / 0.9394 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003754/0.6258, allocations: 248 kB / 0.9396 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003272/0.6262, allocations: 422.9 kB / 0.94 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007339/0.6335, allocations: 7.116 MB / 0.947 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02832/0.6618, allocations: 26.24 MB / 0.9726 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.6648, allocations: 2.914 MB / 0.9755 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.6668, allocations: 1.93 MB / 0.9774 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.004e-05/0.6668, allocations: 22 kB / 0.9774 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.6669, allocations: 68.42 kB / 0.9774 GB, free: 460 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=209): time 3.307e-06/0.6669, allocations: 0 / 0.9774 GB, free: 460 kB / 0.7448 GB Notification: Performance of matching and sorting (n=212): time 0.01394/0.6808, allocations: 10.27 MB / 0.9875 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.6809, allocations: 73.41 kB / 0.9875 GB, free: 6.074 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.6826, allocations: 2.056 MB / 0.9895 GB, free: 4 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.553e-05/0.6827, allocations: 69.7 kB / 0.9896 GB, free: 3.926 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.684, allocations: 2.47 MB / 0.992 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000409/0.6845, allocations: 0.7669 MB / 0.9928 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004502/0.6849, allocations: 481.5 kB / 0.9932 GB, free: 184 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.685, allocations: 301.1 kB / 0.9935 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.6862, allocations: 1.376 MB / 0.9949 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.6878, allocations: 2.104 MB / 0.9969 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003386/0.6912, allocations: 3.77 MB / 1.001 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.6912, allocations: 4 kB / 1.001 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005253/0.6964, allocations: 5.034 MB / 1.006 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.6965, allocations: 12 kB / 1.006 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.6965, allocations: 24 kB / 1.006 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.6986, allocations: 1.58 MB / 1.007 GB, free: 1.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.6994, allocations: 459.2 kB / 1.008 GB, free: 0.8711 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/0.7138, allocations: 17.91 MB / 1.025 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.7152, allocations: 147.9 kB / 1.025 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.7154, allocations: 111.9 kB / 1.025 GB, free: 14.25 MB / 0.8073 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003258/0.7186, allocations: 1.937 MB / 1.027 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.7189, allocations: 310.2 kB / 1.027 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004378/0.7233, allocations: 4.396 MB / 1.032 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.7233, allocations: 27.94 kB / 1.032 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.7233, allocations: 16 kB / 1.032 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.7233, allocations: 15.89 kB / 1.032 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.734, allocations: 9.161 MB / 1.041 GB, free: 14.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.7341, allocations: 8.5 kB / 1.041 GB, free: 14.19 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.7346, allocations: 227.7 kB / 1.041 GB, free: 13.96 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/0.7366, allocations: 1.427 MB / 1.042 GB, free: 12.53 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/0.7367, allocations: 40 kB / 1.042 GB, free: 12.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.7509, allocations: 17.92 MB / 1.06 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7509, allocations: 4 kB / 1.06 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004756/0.7556, allocations: 4.499 MB / 1.064 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009206/0.7566, allocations: 0.5761 MB / 1.065 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.7567, allocations: 39.94 kB / 1.065 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006838/0.7574, allocations: 115.9 kB / 1.065 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/0.7577, allocations: 201.2 kB / 1.065 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/0.7578, allocations: 60 kB / 1.065 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001288/0.7591, allocations: 1.315 MB / 1.067 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7591, allocations: 0 / 1.067 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002165/0.7613, allocations: 1.141 MB / 1.068 GB, free: 2.07 MB / 0.8386 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004638/0.7659, allocations: 5.11 MB / 1.073 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005139/0.7711, allocations: 4.543 MB / 1.077 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.7711, allocations: 4 kB / 1.077 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002609/0.7737, allocations: 2.801 MB / 1.08 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.7758, allocations: 0.8925 MB / 1.081 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03338/0.8092, allocations: 30.57 MB / 1.111 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/0.812, allocations: 3.167 MB / 1.114 GB, free: 1.578 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001243/0.8132, allocations: 0.5518 MB / 1.114 GB, free: 1.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/0.8146, allocations: 1.948 MB / 1.116 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of SimCode: time 1.183e-06/0.8146, allocations: 0 / 1.116 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4657/1.28, allocations: 90.53 MB / 1.204 GB, free: 258.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.045/10.32, allocations: 6.5 kB / 1.205 GB, free: 258.4 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.434352633077651] Failed to read output from testmodel.py, exit status != 0: 10.443352697882801 10.452998543 9.855473151 Calling exit ...