Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001606/0.001606, allocations: 109.5 kB / 16.41 MB, free: 6.5 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.001771/0.001772, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.37/1.37, 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.036/1.036, allocations: 173.4 MB / 470.6 MB, free: 13.66 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_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 68.22 kB / 0.6478 GB, free: 11.8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.168, allocations: 89.51 MB / 0.7352 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3721/0.5401, allocations: 35.1 MB / 0.7695 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.5548, allocations: 9.949 MB / 0.7792 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003467/0.5583, allocations: 143.7 kB / 0.7793 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.5684, allocations: 3.8 MB / 0.783 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008195/0.5766, allocations: 2.043 MB / 0.785 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006937/0.5836, allocations: 1.96 MB / 0.787 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01253/0.5961, allocations: 7.976 MB / 0.7947 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01674/0.6129, allocations: 9.522 MB / 0.804 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007321/0.6203, allocations: 3.378 MB / 0.8073 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007532/0.6278, allocations: 3.735 MB / 0.811 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002584/0.6305, allocations: 0.6795 MB / 0.8117 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00524/0.6357, allocations: 1.447 MB / 0.8131 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005384/0.6412, allocations: 2.619 MB / 0.8156 GB, free: 408 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008381/0.6496, allocations: 3.098 MB / 0.8186 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01591/0.6655, allocations: 10.41 MB / 0.8288 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.6656, allocations: 0 / 0.8288 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6656, allocations: 0 / 0.8288 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002888/0.6659, allocations: 0 / 0.8288 GB, free: 4.199 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01482/0.6807, allocations: 5.54 MB / 0.8342 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.6808, allocations: 12.03 kB / 0.8342 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002529/0.6833, allocations: 0.7023 MB / 0.8349 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006543/0.6899, allocations: 0.9851 MB / 0.8359 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006605/0.6965, allocations: 3.196 MB / 0.839 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000348/0.6969, allocations: 357.9 kB / 0.8393 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/0.6984, allocations: 472.3 kB / 0.8398 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.715, allocations: 7.9 MB / 0.8475 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/0.7153, allocations: 19.81 kB / 0.8475 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001134/0.7164, allocations: 212 kB / 0.8477 GB, free: 320 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006149/0.717, allocations: 369.1 kB / 0.8481 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/0.7313, allocations: 5.941 MB / 0.8539 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04688/0.7783, allocations: 36.02 MB / 0.8891 GB, free: 2.742 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.7822, allocations: 2.131 MB / 0.8911 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002398/0.7846, allocations: 1.488 MB / 0.8926 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.7848, allocations: 13.31 kB / 0.8926 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.7848, allocations: 51.88 kB / 0.8927 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=157): time 4.137e-06/0.7848, allocations: 0 / 0.8927 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of matching and sorting (n=160): time 0.01542/0.8003, allocations: 7.606 MB / 0.9001 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.8003, allocations: 64.72 kB / 0.9001 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/0.8035, allocations: 1.868 MB / 0.902 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002808/0.8038, allocations: 57.7 kB / 0.902 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.8054, allocations: 2.184 MB / 0.9042 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006464/0.8061, allocations: 0.5849 MB / 0.9047 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007841/0.8069, allocations: 404 kB / 0.9051 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.807, allocations: 301.1 kB / 0.9054 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/0.8089, allocations: 1.07 MB / 0.9064 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/0.8114, allocations: 1.76 MB / 0.9082 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004499/0.8159, allocations: 3.045 MB / 0.9111 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/0.816, allocations: 8 kB / 0.9111 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007577/0.8236, allocations: 3.929 MB / 0.915 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/0.8236, allocations: 16 kB / 0.915 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.935e-05/0.8237, allocations: 23.94 kB / 0.915 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/0.8263, allocations: 0.9436 MB / 0.9159 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.828, allocations: 431.3 kB / 0.9164 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02376/0.8517, allocations: 22.76 MB / 0.9386 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.8542, allocations: 120 kB / 0.9387 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/0.8546, allocations: 104 kB / 0.9388 GB, free: 13.05 MB / 0.7325 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003113/0.8577, allocations: 1.648 MB / 0.9404 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007182/0.8585, allocations: 262.4 kB / 0.9407 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006103/0.8646, allocations: 3.267 MB / 0.9438 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.8646, allocations: 16 kB / 0.9439 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.333e-05/0.8647, allocations: 15.98 kB / 0.9439 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.8647, allocations: 7.984 kB / 0.9439 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.8791, allocations: 7.553 MB / 0.9513 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.8791, allocations: 8 kB / 0.9513 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.8801, allocations: 211.6 kB / 0.9515 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002563/0.8827, allocations: 0.9002 MB / 0.9523 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/0.8829, allocations: 32 kB / 0.9524 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02342/0.9063, allocations: 22.73 MB / 0.9746 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.9064, allocations: 7.938 kB / 0.9746 GB, free: 6.469 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006386/0.9128, allocations: 3.396 MB / 0.9779 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.9141, allocations: 0.5423 MB / 0.9784 GB, free: 2.398 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005066/0.9146, allocations: 31.94 kB / 0.9785 GB, free: 2.367 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.9158, allocations: 103.9 kB / 0.9786 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003974/0.9162, allocations: 141 kB / 0.9787 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.9163, allocations: 44 kB / 0.9787 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001933/0.9182, allocations: 1.225 MB / 0.9799 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9182, allocations: 0 / 0.9799 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003071/0.9213, allocations: 0.9102 MB / 0.9808 GB, free: 15.93 MB / 0.7794 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006088/0.9274, allocations: 3.989 MB / 0.9847 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007292/0.9347, allocations: 4.451 MB / 0.9891 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.9348, allocations: 4 kB / 0.9891 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00463/0.9394, allocations: 2.992 MB / 0.992 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003756/0.9432, allocations: 0.8273 MB / 0.9928 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04154/0.9848, allocations: 25.18 MB / 1.017 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004244/0.9891, allocations: 3.212 MB / 1.021 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001723/0.9908, allocations: 0.5215 MB / 1.021 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/0.9929, allocations: 1.651 MB / 1.023 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of SimCode: time 6.91e-07/0.9929, allocations: 0 / 1.023 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5028/1.496, allocations: 70.22 MB / 1.091 GB, free: 273.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/16.27, allocations: 9.266 kB / 1.091 GB, free: 273.7 MB / 0.8575 GB " [Timeout remaining time 644] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.997734877979383] Failed to read output from testmodel.py, exit status != 0: 16.39018046297133 16.400356008 15.73262103 Calling exit ...