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.001777/0.001777, allocations: 107.9 kB / 16.4 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.002204/0.002204, 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.416/1.416, 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.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_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.00206/0.00206, allocations: 70.92 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1727, allocations: 89.53 MB / 0.7353 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.4154/0.5881, allocations: 35.1 MB / 0.7696 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.6037, allocations: 9.945 MB / 0.7793 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003659/0.6074, allocations: 142.6 kB / 0.7794 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009106/0.6165, allocations: 3.802 MB / 0.7831 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006786/0.6233, allocations: 2.04 MB / 0.7851 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006709/0.6301, allocations: 1.959 MB / 0.787 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0124/0.6425, allocations: 7.98 MB / 0.7948 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01524/0.6578, allocations: 9.528 MB / 0.8041 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008041/0.6658, allocations: 3.374 MB / 0.8074 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007763/0.6736, allocations: 3.74 MB / 0.8111 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002281/0.6759, allocations: 0.6786 MB / 0.8117 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004804/0.6808, allocations: 1.439 MB / 0.8131 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004733/0.6855, allocations: 2.618 MB / 0.8157 GB, free: 284 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00637/0.6919, allocations: 3.096 MB / 0.8187 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.7055, allocations: 10.42 MB / 0.8289 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7055, allocations: 0 / 0.8289 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7056, allocations: 0 / 0.8289 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000269/0.7058, allocations: 0 / 0.8289 GB, free: 4.062 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.0129/0.7187, allocations: 5.538 MB / 0.8343 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.7188, allocations: 8.031 kB / 0.8343 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00139/0.7202, allocations: 0.6984 MB / 0.835 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005066/0.7253, allocations: 0.9967 MB / 0.836 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006947/0.7323, allocations: 3.2 MB / 0.8391 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/0.7327, allocations: 357.9 kB / 0.8394 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001633/0.7343, allocations: 464.3 kB / 0.8399 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.7533, allocations: 7.906 MB / 0.8476 GB, free: 412 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002077/0.7536, allocations: 23.81 kB / 0.8476 GB, free: 388 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001272/0.7549, allocations: 212 kB / 0.8478 GB, free: 176 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006164/0.7555, allocations: 365.1 kB / 0.8482 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.7681, allocations: 5.933 MB / 0.854 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04265/0.8108, allocations: 36.02 MB / 0.8891 GB, free: 2.609 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/0.8144, allocations: 2.135 MB / 0.8912 GB, free: 476 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/0.8166, allocations: 1.484 MB / 0.8927 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.8167, allocations: 17.31 kB / 0.8927 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.8168, allocations: 59.81 kB / 0.8927 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=157): time 3.727e-06/0.8168, allocations: 0 / 0.8927 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=160): time 0.01552/0.8323, allocations: 7.606 MB / 0.9002 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.8324, allocations: 68.72 kB / 0.9002 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/0.8358, allocations: 1.86 MB / 0.9021 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.836, allocations: 53.7 kB / 0.9021 GB, free: 5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001974/0.838, allocations: 2.192 MB / 0.9042 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007388/0.8388, allocations: 0.5848 MB / 0.9048 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008387/0.8396, allocations: 408 kB / 0.9052 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.8398, allocations: 301.1 kB / 0.9055 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.8417, allocations: 1.066 MB / 0.9065 GB, free: 436 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/0.8441, allocations: 1.76 MB / 0.9083 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004369/0.8485, allocations: 3.045 MB / 0.9112 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.8485, allocations: 8 kB / 0.9112 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007063/0.8556, allocations: 3.934 MB / 0.9151 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.8556, allocations: 16 kB / 0.9151 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/0.8557, allocations: 23.94 kB / 0.9151 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002625/0.8583, allocations: 0.9316 MB / 0.916 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.8599, allocations: 427.2 kB / 0.9164 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02545/0.8854, allocations: 22.76 MB / 0.9387 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.8873, allocations: 127.9 kB / 0.9388 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/0.8877, allocations: 92 kB / 0.9389 GB, free: 12.91 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.002893/0.8906, allocations: 1.656 MB / 0.9405 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006148/0.8912, allocations: 266.4 kB / 0.9407 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006/0.8972, allocations: 3.264 MB / 0.9439 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.8973, allocations: 16 kB / 0.9439 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.141e-05/0.8973, allocations: 12 kB / 0.944 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.542e-05/0.8973, allocations: 7.969 kB / 0.944 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.9119, allocations: 7.553 MB / 0.9513 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.9119, allocations: 15.98 kB / 0.9514 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000956/0.9129, allocations: 215.6 kB / 0.9516 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/0.9153, allocations: 0.8882 MB / 0.9524 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.9155, allocations: 32 kB / 0.9525 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02391/0.9394, allocations: 22.73 MB / 0.9747 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.9394, allocations: 11.92 kB / 0.9747 GB, free: 6.32 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006653/0.9461, allocations: 3.392 MB / 0.978 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/0.9476, allocations: 0.5422 MB / 0.9785 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008283/0.9484, allocations: 39.86 kB / 0.9786 GB, free: 2.215 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.9502, allocations: 91.89 kB / 0.9786 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004639/0.9506, allocations: 145 kB / 0.9788 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.9508, allocations: 40 kB / 0.9788 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002398/0.9532, allocations: 1.225 MB / 0.98 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9532, allocations: 0 / 0.98 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0039/0.9571, allocations: 0.9102 MB / 0.9809 GB, free: 15.79 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.006629/0.9638, allocations: 3.993 MB / 0.9848 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007366/0.9712, allocations: 4.443 MB / 0.9891 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.9712, allocations: 0 / 0.9891 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.004701/0.9759, allocations: 3.004 MB / 0.9921 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004189/0.9801, allocations: 0.8224 MB / 0.9929 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04732/1.027, allocations: 25.18 MB / 1.017 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005408/1.033, allocations: 3.209 MB / 1.021 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002576/1.036, allocations: 0.5332 MB / 1.021 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003204/1.039, allocations: 1.651 MB / 1.023 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of SimCode: time 1.453e-06/1.039, allocations: 0 / 1.023 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5182/1.557, allocations: 70.21 MB / 1.091 GB, free: 273.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/16.54, allocations: 13.5 kB / 1.091 GB, free: 273.5 MB / 0.8575 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 20.608789136633277] Failed to read output from testmodel.py, exit status != 0: 16.66081059584394 16.683557902 15.973963576 Calling exit ...