Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001468/0.001468, allocations: 108.2 kB / 16.4 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.001401/0.001401, 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.441/1.441, 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.059/1.059, allocations: 173.4 MB / 470.7 MB, free: 13.62 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.09 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.193, allocations: 89.52 MB / 0.7353 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01822/0.2113, allocations: 14.77 MB / 0.7497 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3651/0.5764, allocations: 10.34 MB / 0.7598 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001913/0.5784, allocations: 57.31 kB / 0.7598 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004889/0.5833, allocations: 1.688 MB / 0.7615 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007958/0.5913, allocations: 1.819 MB / 0.7633 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.5941, allocations: 0.7512 MB / 0.764 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005234/0.5994, allocations: 2.75 MB / 0.7667 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.6017, allocations: 1.417 MB / 0.7681 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.6045, allocations: 1.505 MB / 0.7695 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.6069, allocations: 1.165 MB / 0.7707 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.6072, allocations: 158.3 kB / 0.7708 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.6092, allocations: 0.7872 MB / 0.7716 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006483/0.6098, allocations: 0.606 MB / 0.7722 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.6111, allocations: 0.9598 MB / 0.7731 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004365/0.6155, allocations: 2.77 MB / 0.7758 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.6155, allocations: 0.75 kB / 0.7758 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6155, allocations: 1.281 kB / 0.7758 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.206e-05/0.6156, allocations: 0 / 0.7758 GB, free: 4.559 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005067/0.6207, allocations: 2.229 MB / 0.778 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.6207, allocations: 13.5 kB / 0.778 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003199/0.6211, allocations: 194.5 kB / 0.7782 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/0.6341, allocations: 2.117 MB / 0.7803 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.6376, allocations: 1.317 MB / 0.7816 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.12e-05/0.6378, allocations: 84.09 kB / 0.7816 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004059/0.6382, allocations: 120.3 kB / 0.7817 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0066/0.6448, allocations: 2.677 MB / 0.7844 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.777e-05/0.6449, allocations: 9.281 kB / 0.7844 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.645, allocations: 53.61 kB / 0.7844 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006639/0.6457, allocations: 194 kB / 0.7846 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007851/0.6536, allocations: 2.794 MB / 0.7873 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.6697, allocations: 10.48 MB / 0.7976 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006924/0.6766, allocations: 2.346 MB / 0.7999 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003385/0.6801, allocations: 1.285 MB / 0.8011 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.624e-05/0.6802, allocations: 10.53 kB / 0.8011 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.6802, allocations: 44 kB / 0.8012 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 2.935e-06/0.6802, allocations: 0 / 0.8012 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=153): time 0.0643/0.7445, allocations: 16.52 MB / 0.8173 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.7447, allocations: 68.72 kB / 0.8174 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.7466, allocations: 1.184 MB / 0.8185 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003444/0.7469, allocations: 45.7 kB / 0.8186 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006766/0.7476, allocations: 0.7583 MB / 0.8193 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006873/0.7483, allocations: 0.5392 MB / 0.8198 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006297/0.749, allocations: 291.4 kB / 0.8201 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7491, allocations: 313 kB / 0.8204 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/0.7531, allocations: 1.507 MB / 0.8219 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004157/0.7572, allocations: 1.784 MB / 0.8236 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00825/0.7655, allocations: 3.365 MB / 0.8269 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.7656, allocations: 1.188 kB / 0.8269 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01498/0.7805, allocations: 5.285 MB / 0.8321 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.7806, allocations: 8 kB / 0.8321 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.7806, allocations: 4.875 kB / 0.8321 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007312/0.788, allocations: 1.88 MB / 0.8339 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/0.7903, allocations: 415.2 kB / 0.8343 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03559/0.8259, allocations: 24.16 MB / 0.8579 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003746/0.8297, allocations: 307.5 kB / 0.8582 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003597/0.8301, allocations: 72.02 kB / 0.8583 GB, free: 2.367 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001297/0.8314, allocations: 467.1 kB / 0.8587 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/0.832, allocations: 182.9 kB / 0.8589 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/0.8475, allocations: 5.322 MB / 0.8641 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.8476, allocations: 16.47 kB / 0.8641 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.797e-05/0.8476, allocations: 20 kB / 0.8641 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/0.8477, allocations: 11.97 kB / 0.8641 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02054/0.8682, allocations: 7.419 MB / 0.8714 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/0.8683, allocations: 11.98 kB / 0.8714 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/0.8702, allocations: 351.3 kB / 0.8717 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006609/0.8769, allocations: 1.701 MB / 0.8734 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003451/0.8772, allocations: 43.97 kB / 0.8734 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03281/0.9101, allocations: 23.33 MB / 0.8962 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.9101, allocations: 4.188 kB / 0.8962 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/0.9242, allocations: 4.896 MB / 0.901 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/0.9257, allocations: 0.4996 MB / 0.9015 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004052/0.9261, allocations: 27.98 kB / 0.9015 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/0.9286, allocations: 319.4 kB / 0.9018 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006603/0.9292, allocations: 153 kB / 0.902 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/0.9294, allocations: 55.97 kB / 0.902 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001356/0.9308, allocations: 0.7899 MB / 0.9028 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9308, allocations: 0 / 0.9028 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002694/0.9335, allocations: 0.6562 MB / 0.9034 GB, free: 2.742 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01386/0.9473, allocations: 5.476 MB / 0.9088 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01318/0.9606, allocations: 5.163 MB / 0.9138 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.9606, allocations: 384 / 0.9138 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008465/0.9691, allocations: 3.369 MB / 0.9171 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00411/0.9732, allocations: 0.5551 MB / 0.9176 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0598/1.033, allocations: 21.9 MB / 0.939 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/1.035, allocations: 1.572 MB / 0.9406 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001665/1.037, allocations: 386.4 kB / 0.9409 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.038, allocations: 0.6554 MB / 0.9416 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/1.038, allocations: 0 / 0.9416 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/1.169, allocations: 58.72 MB / 0.9989 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.79/20.96, allocations: 11.88 kB / 0.9989 GB, free: 0.793 MB / 0.7794 GB " [Timeout remaining time 639] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.82634224696085] Failed to read output from testmodel.py, exit status != 0: 21.074629951966926 21.096997766 20.477398194 Calling exit ...