Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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.001395/0.001395, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001508/0.001508, allocations: 189 kB / 22.22 MB, free: 5.105 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.557/1.557, allocations: 225.6 MB / 251 MB, free: 13.01 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence.
[/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.171/1.171, allocations: 177.9 MB / 484.2 MB, free: 5.348 MB / 382.1 MB
"
[Timeout remaining time 178]
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: translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R")
translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 64.05 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.6611, allocations: 95.18 MB / 0.7669 GB, free: 7.953 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009166/0.6703, allocations: 7.049 MB / 0.7738 GB, free: 3.559 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.00606/0.6763, allocations: 3.192 MB / 0.7769 GB, free: 1.434 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.6775, allocations: 39.97 kB / 0.777 GB, free: 1.41 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.002806/0.6803, allocations: 0.9861 MB / 0.7779 GB, free: 0.832 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.002093/0.6824, allocations: 0.5294 MB / 0.7784 GB, free: 0.5078 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.684, allocations: 448.7 kB / 0.7789 GB, free: 296 kB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.002313/0.6863, allocations: 1.237 MB / 0.7801 GB, free: 15.72 MB / 0.5919 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.6873, allocations: 477.5 kB / 0.7805 GB, free: 15.5 MB / 0.5919 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.6884, allocations: 483.8 kB / 0.781 GB, free: 15.3 MB / 0.5919 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009278/0.6893, allocations: 0.5548 MB / 0.7815 GB, free: 15.07 MB / 0.5919 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.6895, allocations: 68.03 kB / 0.7816 GB, free: 15.07 MB / 0.5919 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009995/0.6905, allocations: 390.4 kB / 0.782 GB, free: 14.95 MB / 0.5919 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004134/0.6909, allocations: 318.4 kB / 0.7823 GB, free: 14.81 MB / 0.5919 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005609/0.6914, allocations: 453.7 kB / 0.7827 GB, free: 14.55 MB / 0.5919 GB
Notification: Performance of NFConvertDAE.convert: time 0.002197/0.6936, allocations: 1.226 MB / 0.7839 GB, free: 14.12 MB / 0.5919 GB
Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.6936, allocations: 0 / 0.7839 GB, free: 14.12 MB / 0.5919 GB
Notification: Performance of FrontEnd: time 2.926e-06/0.6936, allocations: 0 / 0.7839 GB, free: 14.12 MB / 0.5919 GB
Notification: Performance of Transformations before backend: time 2.101e-05/0.6937, allocations: 0 / 0.7839 GB, free: 14.12 MB / 0.5919 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 183
 * Number of variables: 183
Notification: Performance of Generate backend data structure: time 0.002599/0.6963, allocations: 1.115 MB / 0.785 GB, free: 13.39 MB / 0.5919 GB
Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.6963, allocations: 19.25 kB / 0.785 GB, free: 13.39 MB / 0.5919 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.698, allocations: 248.6 kB / 0.7853 GB, free: 13.32 MB / 0.5919 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.6992, allocations: 0.5319 MB / 0.7858 GB, free: 13 MB / 0.5919 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.6993, allocations: 47.33 kB / 0.7858 GB, free: 12.98 MB / 0.5919 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.6994, allocations: 65.89 kB / 0.7859 GB, free: 12.95 MB / 0.5919 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.7012, allocations: 1.082 MB / 0.7869 GB, free: 12.33 MB / 0.5919 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.7012, allocations: 11.7 kB / 0.787 GB, free: 12.32 MB / 0.5919 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.231e-05/0.7013, allocations: 38.86 kB / 0.787 GB, free: 12.3 MB / 0.5919 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/0.7015, allocations: 81.84 kB / 0.7871 GB, free: 12.29 MB / 0.5919 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.7028, allocations: 0.7491 MB / 0.7878 GB, free: 12.02 MB / 0.5919 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006956/0.7097, allocations: 5.8 MB / 0.7935 GB, free: 7.059 MB / 0.5919 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.711, allocations: 0.5134 MB / 0.794 GB, free: 6.863 MB / 0.5919 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006331/0.7117, allocations: 282.9 kB / 0.7942 GB, free: 6.762 MB / 0.5919 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.7117, allocations: 5.859 kB / 0.7942 GB, free: 6.762 MB / 0.5919 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.7118, allocations: 42.12 kB / 0.7943 GB, free: 6.715 MB / 0.5919 GB
Notification: Performance of pre-optimization done (n=47): time 2.335e-06/0.7118, allocations: 0.5 kB / 0.7943 GB, free: 6.715 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=48): time 0.00484/0.7166, allocations: 1.685 MB / 0.7959 GB, free: 6.027 MB / 0.5919 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.7167, allocations: 60.84 kB / 0.796 GB, free: 5.961 MB / 0.5919 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008803/0.7176, allocations: 0.5606 MB / 0.7965 GB, free: 5.703 MB / 0.5919 GB
Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.7176, allocations: 36.36 kB / 0.7966 GB, free: 5.664 MB / 0.5919 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003836/0.718, allocations: 435.5 kB / 0.797 GB, free: 5.316 MB / 0.5919 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.7182, allocations: 176.4 kB / 0.7972 GB, free: 5.18 MB / 0.5919 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.7184, allocations: 128.4 kB / 0.7973 GB, free: 5.109 MB / 0.5919 GB
Notification: Performance of setup shared object (initialization): time 0.0002121/0.7186, allocations: 379.1 kB / 0.7976 GB, free: 4.766 MB / 0.5919 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000458/0.7191, allocations: 269.8 kB / 0.7979 GB, free: 4.676 MB / 0.5919 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000674/0.7197, allocations: 499.1 kB / 0.7984 GB, free: 4.301 MB / 0.5919 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.7209, allocations: 0.8132 MB / 0.7992 GB, free: 3.758 MB / 0.5919 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.721, allocations: 2.094 kB / 0.7992 GB, free: 3.758 MB / 0.5919 GB
Notification: Performance of matching and sorting (n=85) (initialization): time 0.002259/0.7232, allocations: 1.082 MB / 0.8002 GB, free: 3.293 MB / 0.5919 GB
Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.7232, allocations: 8.344 kB / 0.8002 GB, free: 3.293 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.7233, allocations: 7.359 kB / 0.8002 GB, free: 3.293 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.7243, allocations: 273.8 kB / 0.8005 GB, free: 3.211 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.7248, allocations: 124.2 kB / 0.8006 GB, free: 3.199 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007893/0.7327, allocations: 6.73 MB / 0.8072 GB, free: 13.47 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009325/0.7336, allocations: 38.44 kB / 0.8072 GB, free: 13.46 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.7337, allocations: 28.17 kB / 0.8073 GB, free: 13.46 MB / 0.6075 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 (67):
 * Single equations (assignments): 63
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(2,6,100.0%), (2,4,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.0005101/0.7342, allocations: 259.3 kB / 0.8075 GB, free: 13.27 MB / 0.6075 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.7343, allocations: 77.03 kB / 0.8076 GB, free: 13.23 MB / 0.6075 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.7362, allocations: 0.8793 MB / 0.8084 GB, free: 12.83 MB / 0.6075 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.7362, allocations: 8.578 kB / 0.8084 GB, free: 12.83 MB / 0.6075 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.7362, allocations: 7.375 kB / 0.8084 GB, free: 12.82 MB / 0.6075 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.7362, allocations: 2.344 kB / 0.8084 GB, free: 12.82 MB / 0.6075 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.7395, allocations: 1.694 MB / 0.8101 GB, free: 11.89 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.7395, allocations: 1.375 kB / 0.8101 GB, free: 11.89 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.7398, allocations: 67.58 kB / 0.8102 GB, free: 11.86 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008538/0.7406, allocations: 262.4 kB / 0.8104 GB, free: 11.72 MB / 0.6075 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.7407, allocations: 8.531 kB / 0.8104 GB, free: 11.72 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008049/0.7487, allocations: 6.725 MB / 0.817 GB, free: 5.574 MB / 0.6075 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7487, allocations: 2.781 kB / 0.817 GB, free: 5.574 MB / 0.6075 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.7509, allocations: 0.9895 MB / 0.818 GB, free: 4.926 MB / 0.6075 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.7513, allocations: 120.8 kB / 0.8181 GB, free: 4.848 MB / 0.6075 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.091e-05/0.7514, allocations: 12.44 kB / 0.8181 GB, free: 4.84 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.7518, allocations: 28.34 kB / 0.8181 GB, free: 4.824 MB / 0.6075 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.752, allocations: 43.05 kB / 0.8182 GB, free: 4.797 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.752, allocations: 15.06 kB / 0.8182 GB, free: 4.793 MB / 0.6075 GB
Notification: Performance of sorting global known variables: time 0.0005657/0.7526, allocations: 392 kB / 0.8185 GB, free: 4.566 MB / 0.6075 GB
Notification: Performance of sort global known variables: time 9e-08/0.7526, allocations: 0 / 0.8185 GB, free: 4.566 MB / 0.6075 GB
Notification: Performance of remove unused functions: time 0.001057/0.7536, allocations: 229.6 kB / 0.8188 GB, free: 4.539 MB / 0.6075 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * 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 (31):
 * Single equations (assignments): 27
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(2,2,100.0%), (2,4,100.0%), (2,2,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.000194/0.7538, allocations: 107.8 kB / 0.8189 GB, free: 4.441 MB / 0.6075 GB
Notification: Performance of simCode: created initialization part: time 0.002483/0.7563, allocations: 1.239 MB / 0.8201 GB, free: 3.582 MB / 0.6075 GB
Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.7563, allocations: 1.312 kB / 0.8201 GB, free: 3.582 MB / 0.6075 GB
Notification: Performance of simCode: created simulation system equations: time 0.00142/0.7577, allocations: 0.8585 MB / 0.8209 GB, free: 2.906 MB / 0.6075 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.759, allocations: 221.7 kB / 0.8211 GB, free: 2.789 MB / 0.6075 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.7618, allocations: 1.365 MB / 0.8225 GB, free: 1.918 MB / 0.6075 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000787/0.7625, allocations: 1.016 MB / 0.8235 GB, free: 1.066 MB / 0.6075 GB
Notification: Performance of simCode: alias equations: time 0.0004782/0.763, allocations: 123.9 kB / 0.8236 GB, free: 1.008 MB / 0.6075 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.7631, allocations: 41.94 kB / 0.8236 GB, free: 1 MB / 0.6075 GB
Notification: Performance of SimCode: time 1.032e-06/0.7631, allocations: 0 / 0.8236 GB, free: 1 MB / 0.6075 GB
Notification: Performance of Templates: time 0.02756/0.7907, allocations: 11.84 MB / 0.8352 GB, free: 11.25 MB / 0.6231 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.09820516500622]
Failed to read output from testmodel.py, exit status != 0:
0.8002032311633229 0.816087419 0.11902802600000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa5420c97b0>