Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.001641, allocations: 111.6 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.093/1.093, allocations: 173.4 MB / 470.6 MB, free: 13.61 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IDEAS_dev_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_dev_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 0.00195/0.00195, allocations: 73.27 kB / 0.6478 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2032, allocations: 89.51 MB / 0.7352 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.4453/0.6485, allocations: 20.22 MB / 0.7549 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.6595, allocations: 6.442 MB / 0.7612 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.6618, allocations: 87.97 kB / 0.7613 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005366/0.6672, allocations: 2.243 MB / 0.7635 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.6713, allocations: 1.179 MB / 0.7647 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003946/0.6752, allocations: 1.286 MB / 0.7659 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006738/0.682, allocations: 4.856 MB / 0.7707 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.6927, allocations: 5.6 MB / 0.7761 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005136/0.6979, allocations: 2.09 MB / 0.7782 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005394/0.7033, allocations: 2.343 MB / 0.7805 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002088/0.7055, allocations: 429.7 kB / 0.7809 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/0.7096, allocations: 1 MB / 0.7818 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003915/0.7135, allocations: 1.66 MB / 0.7835 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006175/0.7197, allocations: 1.916 MB / 0.7853 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.7317, allocations: 6.546 MB / 0.7917 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.7317, allocations: 0 / 0.7917 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7318, allocations: 0 / 0.7917 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002745/0.732, allocations: 0 / 0.7917 GB, free: 15.71 MB / 0.5919 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.01562/0.7477, allocations: 3.531 MB / 0.7952 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.7477, allocations: 9.406 kB / 0.7952 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002437/0.7502, allocations: 462.5 kB / 0.7956 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005102/0.7553, allocations: 0.6567 MB / 0.7963 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006495/0.7618, allocations: 2.051 MB / 0.7983 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003471/0.7622, allocations: 222.6 kB / 0.7985 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.7639, allocations: 300.4 kB / 0.7988 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/0.7793, allocations: 4.884 MB / 0.8035 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002004/0.7796, allocations: 17.61 kB / 0.8036 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001261/0.7808, allocations: 133.9 kB / 0.8037 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005848/0.7814, allocations: 227.9 kB / 0.8039 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00953/0.791, allocations: 3.754 MB / 0.8076 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02746/0.8185, allocations: 21.44 MB / 0.8285 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.8205, allocations: 1.304 MB / 0.8298 GB, free: 28 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.8221, allocations: 1.05 MB / 0.8308 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.968e-05/0.8222, allocations: 13 kB / 0.8308 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.8222, allocations: 59.48 kB / 0.8309 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=107): time 2.705e-06/0.8222, allocations: 0 / 0.8309 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=138): time 0.02569/0.8479, allocations: 8.688 MB / 0.8394 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.848, allocations: 64.72 kB / 0.8394 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.8498, allocations: 1.126 MB / 0.8405 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.8499, allocations: 53.7 kB / 0.8406 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009888/0.8509, allocations: 1.335 MB / 0.8419 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004708/0.8514, allocations: 0.4957 MB / 0.8424 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005075/0.8519, allocations: 295.4 kB / 0.8426 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8521, allocations: 305.1 kB / 0.8429 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.8535, allocations: 0.9174 MB / 0.8438 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.8552, allocations: 1.322 MB / 0.8451 GB, free: 28 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/0.8586, allocations: 2.43 MB / 0.8475 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.8586, allocations: 4 kB / 0.8475 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006403/0.865, allocations: 3.48 MB / 0.8509 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.865, allocations: 8 kB / 0.8509 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.8651, allocations: 12 kB / 0.8509 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/0.8684, allocations: 1.173 MB / 0.8521 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000918/0.8694, allocations: 259.6 kB / 0.8523 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01889/0.8883, allocations: 13.86 MB / 0.8658 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.8899, allocations: 87.97 kB / 0.8659 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/0.8902, allocations: 72 kB / 0.866 GB, free: 10.04 MB / 0.6544 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.002275/0.8925, allocations: 1.11 MB / 0.8671 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/0.8929, allocations: 170.9 kB / 0.8672 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006225/0.8991, allocations: 3.169 MB / 0.8703 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.8992, allocations: 15.98 kB / 0.8704 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.12e-05/0.8992, allocations: 15.94 kB / 0.8704 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.8992, allocations: 7.922 kB / 0.8704 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.9107, allocations: 6.241 MB / 0.8765 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.9107, allocations: 8.031 kB / 0.8765 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/0.9113, allocations: 143.8 kB / 0.8766 GB, free: 14.99 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002991/0.9143, allocations: 1.072 MB / 0.8777 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.604e-05/0.9144, allocations: 28 kB / 0.8777 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/0.9331, allocations: 13.56 MB / 0.8909 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.9331, allocations: 4 kB / 0.8909 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005872/0.939, allocations: 3.163 MB / 0.894 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000987/0.94, allocations: 435.9 kB / 0.8944 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004245/0.9405, allocations: 32 kB / 0.8945 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.9415, allocations: 79.89 kB / 0.8945 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003833/0.9419, allocations: 124.7 kB / 0.8947 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.942, allocations: 44 kB / 0.8947 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001233/0.9432, allocations: 0.7593 MB / 0.8954 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9432, allocations: 0 / 0.8954 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002299/0.9456, allocations: 0.6641 MB / 0.8961 GB, free: 10.52 MB / 0.6856 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.006049/0.9516, allocations: 3.745 MB / 0.8998 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005549/0.9572, allocations: 3.165 MB / 0.9028 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.9572, allocations: 0 / 0.9028 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003401/0.9606, allocations: 1.955 MB / 0.9048 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/0.9638, allocations: 0.4955 MB / 0.9052 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03701/1.001, allocations: 19.19 MB / 0.924 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00389/1.005, allocations: 2.336 MB / 0.9263 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001236/1.006, allocations: 354.1 kB / 0.9266 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/1.008, allocations: 1.003 MB / 0.9276 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.383e-06/1.008, allocations: 0 / 0.9276 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.167/1.175, allocations: 52.27 MB / 0.9786 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.71, allocations: 5.875 kB / 0.9786 GB, free: 5.848 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.69155548803974] Failed to read output from testmodel.py, exit status != 0: 13.81081900803838 13.824138765 13.089822985 Calling exit ...