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.001274/0.001274, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.001328/0.001328, allocations: 191.7 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.51/1.51, allocations: 222.9 MB / 245 MB, free: 15.04 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.109/1.109, allocations: 173.4 MB / 470.7 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.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.002841/0.002841, allocations: 72.94 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2085, allocations: 89.52 MB / 0.7353 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.019/0.2276, allocations: 14.78 MB / 0.7497 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3977/0.6253, allocations: 10.33 MB / 0.7598 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.6268, allocations: 57.41 kB / 0.7598 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004365/0.6312, allocations: 1.694 MB / 0.7615 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005707/0.6369, allocations: 1.807 MB / 0.7632 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.6392, allocations: 0.756 MB / 0.764 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005068/0.6443, allocations: 2.747 MB / 0.7667 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001882/0.6462, allocations: 1.427 MB / 0.7681 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.6487, allocations: 1.497 MB / 0.7695 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.6506, allocations: 1.165 MB / 0.7707 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002584/0.6509, allocations: 160 kB / 0.7708 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.6527, allocations: 0.7854 MB / 0.7716 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00061/0.6533, allocations: 0.6084 MB / 0.7722 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.6544, allocations: 0.9536 MB / 0.7731 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004711/0.6591, allocations: 2.776 MB / 0.7758 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6591, allocations: 0.6094 kB / 0.7758 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6591, allocations: 0.5312 kB / 0.7758 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.708e-05/0.6592, allocations: 0 / 0.7758 GB, free: 4.578 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.004728/0.6639, allocations: 2.226 MB / 0.778 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.664, allocations: 9.125 kB / 0.778 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003082/0.6643, allocations: 195.6 kB / 0.7782 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/0.677, allocations: 2.12 MB / 0.7803 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.6803, allocations: 1.318 MB / 0.7815 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.6804, allocations: 88.97 kB / 0.7816 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.6807, allocations: 122.2 kB / 0.7817 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006551/0.6872, allocations: 2.673 MB / 0.7844 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.459e-05/0.6873, allocations: 8.438 kB / 0.7844 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/0.6875, allocations: 50.8 kB / 0.7844 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006912/0.6882, allocations: 193 kB / 0.7846 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007943/0.6962, allocations: 2.795 MB / 0.7873 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01655/0.7128, allocations: 10.48 MB / 0.7976 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007195/0.72, allocations: 2.344 MB / 0.7999 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003526/0.7236, allocations: 1.283 MB / 0.8011 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-05/0.7237, allocations: 13.11 kB / 0.8011 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.518e-05/0.7238, allocations: 44.81 kB / 0.8012 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.076e-06/0.7238, allocations: 0 / 0.8012 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=153): time 0.06564/0.7894, allocations: 16.53 MB / 0.8173 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.7895, allocations: 68.72 kB / 0.8174 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.7916, allocations: 1.172 MB / 0.8185 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000292/0.7919, allocations: 61.69 kB / 0.8186 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007182/0.7926, allocations: 0.7563 MB / 0.8193 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008122/0.7935, allocations: 0.538 MB / 0.8198 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007613/0.7942, allocations: 291.4 kB / 0.8201 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.7944, allocations: 305.1 kB / 0.8204 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/0.7984, allocations: 1.51 MB / 0.8219 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/0.8027, allocations: 1.78 MB / 0.8236 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008331/0.8111, allocations: 3.365 MB / 0.8269 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.8111, allocations: 5 kB / 0.8269 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01555/0.8267, allocations: 5.278 MB / 0.8321 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.8267, allocations: 8 kB / 0.8321 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.8267, allocations: 12.06 kB / 0.8321 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007417/0.8342, allocations: 1.888 MB / 0.8339 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.8364, allocations: 415.2 kB / 0.8343 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03444/0.8708, allocations: 24.15 MB / 0.8579 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/0.8742, allocations: 311.5 kB / 0.8582 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004347/0.8747, allocations: 67.97 kB / 0.8583 GB, free: 2.348 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.001482/0.8762, allocations: 472.8 kB / 0.8587 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006626/0.8768, allocations: 190.8 kB / 0.8589 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/0.8921, allocations: 5.31 MB / 0.8641 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.8921, allocations: 20.47 kB / 0.8641 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.246e-05/0.8922, allocations: 23.98 kB / 0.8641 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/0.8922, allocations: 3.984 kB / 0.8641 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/0.9113, allocations: 7.418 MB / 0.8714 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.9114, allocations: 4 kB / 0.8714 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/0.9132, allocations: 355.3 kB / 0.8717 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006562/0.9198, allocations: 1.71 MB / 0.8734 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/0.9201, allocations: 43.97 kB / 0.8734 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03171/0.9518, allocations: 23.32 MB / 0.8962 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/0.9518, allocations: 5.328 kB / 0.8962 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/0.9657, allocations: 4.902 MB / 0.901 GB, free: 5.238 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/0.9671, allocations: 0.4957 MB / 0.9015 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005832/0.9677, allocations: 28 kB / 0.9015 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003058/0.9708, allocations: 323.5 kB / 0.9018 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008246/0.9717, allocations: 145 kB / 0.902 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002749/0.9719, allocations: 55.97 kB / 0.902 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001853/0.9738, allocations: 0.7937 MB / 0.9028 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9738, allocations: 0 / 0.9028 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003358/0.9772, allocations: 0.6602 MB / 0.9034 GB, free: 2.727 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.01474/0.9919, allocations: 5.479 MB / 0.9088 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01412/1.006, allocations: 5.155 MB / 0.9138 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.006, allocations: 4.375 kB / 0.9138 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008854/1.015, allocations: 3.369 MB / 0.9171 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003997/1.019, allocations: 0.555 MB / 0.9176 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05908/1.078, allocations: 21.93 MB / 0.9391 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/1.08, allocations: 1.557 MB / 0.9406 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001768/1.082, allocations: 382.4 kB / 0.9409 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.083, allocations: 0.6593 MB / 0.9416 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of SimCode: time 1.183e-06/1.083, allocations: 0 / 0.9416 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1436/1.227, allocations: 58.7 MB / 0.9989 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.5/21.73, allocations: 17.64 kB / 0.9989 GB, free: 0.7773 MB / 0.7794 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 25.71626112004742] Failed to read output from testmodel.py, exit status != 0: 21.847275752108544 21.873429684 21.209241858 Calling exit ...