Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001573/0.001573, allocations: 104.9 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.0013/0.001301, 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.523/1.523, 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.074/1.074, allocations: 173.4 MB / 470.7 MB, free: 13.6 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.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.8 kB / 0.6478 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1862, allocations: 89.52 MB / 0.7353 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01777/0.204, allocations: 14.05 MB / 0.749 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3997/0.6038, allocations: 9.375 MB / 0.7581 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.6056, allocations: 55.5 kB / 0.7582 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004258/0.6099, allocations: 1.675 MB / 0.7598 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005502/0.6154, allocations: 1.538 MB / 0.7613 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.6176, allocations: 0.7623 MB / 0.7621 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004158/0.6217, allocations: 2.517 MB / 0.7645 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.6237, allocations: 1.41 MB / 0.7659 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.6256, allocations: 1.046 MB / 0.7669 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.6272, allocations: 1.142 MB / 0.768 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.6275, allocations: 165.2 kB / 0.7682 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.629, allocations: 0.785 MB / 0.769 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005969/0.6296, allocations: 0.6172 MB / 0.7696 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009422/0.6306, allocations: 0.9466 MB / 0.7705 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004127/0.6347, allocations: 2.769 MB / 0.7732 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6348, allocations: 0.75 kB / 0.7732 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6348, allocations: 1.125 kB / 0.7732 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.341e-05/0.6348, allocations: 3.938 kB / 0.7732 GB, free: 4.438 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.00476/0.6396, allocations: 2.196 MB / 0.7753 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.6397, allocations: 9.656 kB / 0.7753 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002937/0.64, allocations: 192.3 kB / 0.7755 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/0.6527, allocations: 2.091 MB / 0.7776 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004025/0.6568, allocations: 1.311 MB / 0.7789 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.6569, allocations: 88.5 kB / 0.7789 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.6572, allocations: 120.7 kB / 0.7791 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00641/0.6637, allocations: 2.679 MB / 0.7817 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.745e-05/0.6637, allocations: 15.5 kB / 0.7817 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.6639, allocations: 54.48 kB / 0.7817 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006336/0.6646, allocations: 184.1 kB / 0.7819 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007806/0.6724, allocations: 2.799 MB / 0.7846 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0165/0.6889, allocations: 10.47 MB / 0.7949 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007574/0.6965, allocations: 2.524 MB / 0.7973 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003823/0.7004, allocations: 1.29 MB / 0.7986 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.7005, allocations: 9.312 kB / 0.7986 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.7006, allocations: 45.94 kB / 0.7987 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.106e-06/0.7006, allocations: 0 / 0.7987 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.05048/0.7511, allocations: 13.39 MB / 0.8117 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.7512, allocations: 64.56 kB / 0.8118 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.7533, allocations: 1.113 MB / 0.8129 GB, free: 204 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002165/0.7536, allocations: 46.52 kB / 0.8129 GB, free: 156 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006864/0.7543, allocations: 0.7344 MB / 0.8136 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005793/0.7548, allocations: 470.3 kB / 0.8141 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005769/0.7554, allocations: 263.5 kB / 0.8143 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.7556, allocations: 367.6 kB / 0.8147 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/0.7591, allocations: 1.341 MB / 0.816 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003833/0.763, allocations: 1.596 MB / 0.8176 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007511/0.7705, allocations: 2.998 MB / 0.8205 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.7705, allocations: 0 / 0.8205 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0128/0.7833, allocations: 4.451 MB / 0.8248 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.7834, allocations: 11.94 kB / 0.8248 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.7834, allocations: 4.562 kB / 0.8248 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005972/0.7894, allocations: 1.434 MB / 0.8262 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/0.7919, allocations: 435.2 kB / 0.8267 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03507/0.827, allocations: 26.7 MB / 0.8527 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/0.8303, allocations: 303.5 kB / 0.853 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/0.8306, allocations: 63.97 kB / 0.8531 GB, free: 5.719 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001258/0.8319, allocations: 444.5 kB / 0.8535 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005534/0.8325, allocations: 170.9 kB / 0.8537 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/0.8458, allocations: 4.457 MB / 0.858 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.8458, allocations: 16 kB / 0.858 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.233e-05/0.8459, allocations: 12 kB / 0.8581 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.8459, allocations: 7.984 kB / 0.8581 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/0.8643, allocations: 6.778 MB / 0.8647 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.647e-05/0.8643, allocations: 4 kB / 0.8647 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003028/0.8674, allocations: 375.4 kB / 0.865 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007406/0.8748, allocations: 1.311 MB / 0.8663 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000396/0.8752, allocations: 39.97 kB / 0.8664 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04788/0.9232, allocations: 25.5 MB / 0.8913 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.9232, allocations: 4 kB / 0.8913 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.9368, allocations: 4.207 MB / 0.8954 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.9381, allocations: 471.8 kB / 0.8958 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006576/0.9388, allocations: 24 kB / 0.8959 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/0.9415, allocations: 303.6 kB / 0.8961 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005859/0.9421, allocations: 136.6 kB / 0.8963 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/0.9423, allocations: 47.97 kB / 0.8963 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001453/0.9438, allocations: 0.7526 MB / 0.8971 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.9438, allocations: 0 / 0.8971 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00302/0.9468, allocations: 0.5664 MB / 0.8976 GB, free: 5.961 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01259/0.9594, allocations: 4.807 MB / 0.9023 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01275/0.9722, allocations: 5.152 MB / 0.9073 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.9723, allocations: 0 / 0.9073 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008116/0.9804, allocations: 3.493 MB / 0.9107 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/0.9844, allocations: 0.5445 MB / 0.9113 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05125/1.036, allocations: 19.41 MB / 0.9302 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/1.037, allocations: 1.473 MB / 0.9317 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001732/1.039, allocations: 429.6 kB / 0.9321 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.04, allocations: 0.632 MB / 0.9327 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/1.04, allocations: 0 / 0.9327 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/1.17, allocations: 51.64 MB / 0.9831 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.79/19.96, allocations: 7.109 kB / 0.9831 GB, free: 14.11 MB / 0.7794 GB " [Timeout remaining time 640] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.963421899825335] Failed to read output from testmodel.py, exit status != 0: 20.081472232937813 20.102238916 19.4635922 Calling exit ...