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.001851/0.001851, allocations: 113.9 kB / 18.94 MB, free: 2.785 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.001528/0.001528, allocations: 191.6 kB / 22.23 MB, free: 5.227 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.693/1.693, allocations: 225.6 MB / 251 MB, free: 13.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/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.179/1.179, allocations: 177.9 MB / 484.2 MB, free: 5.383 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine")
translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 69.66 kB / 0.674 GB, free: 10.81 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.642/0.6441, allocations: 95.17 MB / 0.7669 GB, free: 7.926 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01757/0.6617, allocations: 14.56 MB / 0.7812 GB, free: 14.51 MB / 0.5919 GB
Notification: Performance of NFInst.instExpressions: time 0.01883/0.6805, allocations: 9.756 MB / 0.7907 GB, free: 7.98 MB / 0.5919 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/0.6833, allocations: 81.94 kB / 0.7908 GB, free: 7.934 MB / 0.5919 GB
Notification: Performance of NFTyping.typeComponents: time 0.005608/0.6889, allocations: 1.75 MB / 0.7925 GB, free: 6.906 MB / 0.5919 GB
Notification: Performance of NFTyping.typeBindings: time 0.006931/0.6958, allocations: 1.584 MB / 0.794 GB, free: 5.969 MB / 0.5919 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.6993, allocations: 0.7639 MB / 0.7948 GB, free: 5.566 MB / 0.5919 GB
Notification: Performance of NFFlatten.flatten: time 0.005991/0.7053, allocations: 2.522 MB / 0.7972 GB, free: 4.387 MB / 0.5919 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.708, allocations: 1.002 MB / 0.7982 GB, free: 3.844 MB / 0.5919 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.711, allocations: 1.089 MB / 0.7993 GB, free: 3.395 MB / 0.5919 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00338/0.7144, allocations: 1.215 MB / 0.8005 GB, free: 2.895 MB / 0.5919 GB
Notification: Performance of NFPackage.collectConstants: time 0.0006217/0.715, allocations: 164.2 kB / 0.8006 GB, free: 2.895 MB / 0.5919 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.7178, allocations: 0.8032 MB / 0.8014 GB, free: 2.664 MB / 0.5919 GB
Notification: Performance of NFScalarize.scalarize: time 0.001135/0.7189, allocations: 0.6305 MB / 0.802 GB, free: 2.363 MB / 0.5919 GB
Notification: Performance of NFVerifyModel.verify: time 0.002025/0.721, allocations: 0.9457 MB / 0.8029 GB, free: 1.781 MB / 0.5919 GB
Notification: Performance of NFConvertDAE.convert: time 0.0055/0.7264, allocations: 2.778 MB / 0.8056 GB, free: 472 kB / 0.5919 GB
Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.7265, allocations: 0 / 0.8056 GB, free: 472 kB / 0.5919 GB
Notification: Performance of FrontEnd: time 2.354e-06/0.7265, allocations: 0 / 0.8056 GB, free: 472 kB / 0.5919 GB
Notification: Performance of Transformations before backend: time 0.0001233/0.7266, allocations: 0 / 0.8056 GB, free: 472 kB / 0.5919 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.006722/0.7333, allocations: 2.113 MB / 0.8077 GB, free: 14.96 MB / 0.6075 GB
Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.7334, allocations: 12.86 kB / 0.8077 GB, free: 14.95 MB / 0.6075 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/0.7466, allocations: 2.095 MB / 0.8098 GB, free: 13.96 MB / 0.6075 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003961/0.7505, allocations: 1.218 MB / 0.811 GB, free: 13.09 MB / 0.6075 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.7506, allocations: 90.83 kB / 0.811 GB, free: 13.04 MB / 0.6075 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004767/0.7511, allocations: 128.7 kB / 0.8112 GB, free: 12.99 MB / 0.6075 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.007276/0.7584, allocations: 2.671 MB / 0.8138 GB, free: 11.27 MB / 0.6075 GB
Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/0.7585, allocations: 11.69 kB / 0.8138 GB, free: 11.26 MB / 0.6075 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.7587, allocations: 58.55 kB / 0.8138 GB, free: 11.22 MB / 0.6075 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007692/0.7594, allocations: 182.8 kB / 0.814 GB, free: 11.15 MB / 0.6075 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009303/0.7688, allocations: 2.789 MB / 0.8167 GB, free: 9.742 MB / 0.6075 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02001/0.7888, allocations: 10.37 MB / 0.8269 GB, free: 1.09 MB / 0.6075 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.008032/0.7968, allocations: 2.224 MB / 0.829 GB, free: 15.96 MB / 0.6231 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003918/0.8007, allocations: 1.206 MB / 0.8302 GB, free: 15.35 MB / 0.6231 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.8008, allocations: 17.25 kB / 0.8302 GB, free: 15.34 MB / 0.6231 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.8009, allocations: 44 kB / 0.8303 GB, free: 15.29 MB / 0.6231 GB
Notification: Performance of pre-optimization done (n=89): time 3.737e-06/0.8009, allocations: 0 / 0.8303 GB, free: 15.29 MB / 0.6231 GB
Notification: Performance of matching and sorting (n=131): time 0.05412/0.855, allocations: 12.66 MB / 0.8426 GB, free: 4.707 MB / 0.6231 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.8551, allocations: 72.66 kB / 0.8427 GB, free: 4.625 MB / 0.6231 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.8571, allocations: 1.109 MB / 0.8438 GB, free: 3.5 MB / 0.6231 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003357/0.8574, allocations: 49.7 kB / 0.8438 GB, free: 3.445 MB / 0.6231 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006641/0.8581, allocations: 0.7365 MB / 0.8446 GB, free: 2.703 MB / 0.6231 GB
Notification: Performance of collectInitialBindings (initialization): time 0.000707/0.8588, allocations: 467.9 kB / 0.845 GB, free: 2.242 MB / 0.6231 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006727/0.8594, allocations: 263.5 kB / 0.8452 GB, free: 1.977 MB / 0.6231 GB
Notification: Performance of setup shared object (initialization): time 0.0001924/0.8596, allocations: 361.9 kB / 0.8456 GB, free: 1.617 MB / 0.6231 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003892/0.8635, allocations: 1.339 MB / 0.8469 GB, free: 284 kB / 0.6231 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004157/0.8677, allocations: 1.604 MB / 0.8485 GB, free: 14.57 MB / 0.6387 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.008061/0.8757, allocations: 2.991 MB / 0.8514 GB, free: 11.48 MB / 0.6387 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.8757, allocations: 4 kB / 0.8514 GB, free: 11.48 MB / 0.6387 GB
Notification: Performance of matching and sorting (n=168) (initialization): time 0.01329/0.889, allocations: 4.401 MB / 0.8557 GB, free: 7.027 MB / 0.6387 GB
Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.8891, allocations: 8 kB / 0.8557 GB, free: 7.02 MB / 0.6387 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.8891, allocations: 8.031 kB / 0.8557 GB, free: 7.012 MB / 0.6387 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0057/0.8948, allocations: 1.431 MB / 0.8571 GB, free: 5.539 MB / 0.6387 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.8972, allocations: 443.2 kB / 0.8575 GB, free: 5.105 MB / 0.6387 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03118/0.9284, allocations: 25.36 MB / 0.8823 GB, free: 10.24 MB / 0.67 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/0.9314, allocations: 303.6 kB / 0.8826 GB, free: 9.945 MB / 0.67 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.9317, allocations: 63.95 kB / 0.8826 GB, free: 9.883 MB / 0.67 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.0009816/0.9326, allocations: 444.8 kB / 0.8831 GB, free: 9.441 MB / 0.67 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004305/0.9331, allocations: 174.9 kB / 0.8832 GB, free: 9.27 MB / 0.67 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.946, allocations: 4.402 MB / 0.8875 GB, free: 4.816 MB / 0.67 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.946, allocations: 12 kB / 0.8875 GB, free: 4.805 MB / 0.67 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.516e-05/0.946, allocations: 16 kB / 0.8876 GB, free: 4.789 MB / 0.67 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.946, allocations: 7.969 kB / 0.8876 GB, free: 4.781 MB / 0.67 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01752/0.9636, allocations: 6.7 MB / 0.8941 GB, free: 13.93 MB / 0.6856 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.9636, allocations: 4.344 kB / 0.8941 GB, free: 13.92 MB / 0.6856 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/0.9657, allocations: 375.4 kB / 0.8945 GB, free: 13.55 MB / 0.6856 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.005106/0.9708, allocations: 1.31 MB / 0.8957 GB, free: 12.2 MB / 0.6856 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002278/0.971, allocations: 39.95 kB / 0.8958 GB, free: 12.16 MB / 0.6856 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02846/0.9995, allocations: 24.18 MB / 0.9194 GB, free: 2.488 MB / 0.7012 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.9995, allocations: 4.031 kB / 0.9194 GB, free: 2.484 MB / 0.7012 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.012, allocations: 4.168 MB / 0.9235 GB, free: 14.21 MB / 0.7169 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001428/1.013, allocations: 386.7 kB / 0.9238 GB, free: 13.84 MB / 0.7169 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/1.014, allocations: 27.98 kB / 0.9239 GB, free: 13.81 MB / 0.7169 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/1.016, allocations: 307.5 kB / 0.9242 GB, free: 13.51 MB / 0.7169 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004567/1.017, allocations: 140.6 kB / 0.9243 GB, free: 13.37 MB / 0.7169 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/1.017, allocations: 47.97 kB / 0.9243 GB, free: 13.32 MB / 0.7169 GB
Notification: Performance of sorting global known variables: time 0.001143/1.018, allocations: 0.7526 MB / 0.9251 GB, free: 12.57 MB / 0.7169 GB
Notification: Performance of sort global known variables: time 9e-08/1.018, allocations: 0 / 0.9251 GB, free: 12.57 MB / 0.7169 GB
Notification: Performance of remove unused functions: time 0.002383/1.02, allocations: 0.5742 MB / 0.9256 GB, free: 11.99 MB / 0.7169 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.0003276/1.021, allocations: 143 kB / 0.9258 GB, free: 11.84 MB / 0.7169 GB
Notification: Performance of simCode: created initialization part: time 0.01239/1.033, allocations: 4.962 MB / 0.9306 GB, free: 6.719 MB / 0.7169 GB
Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.033, allocations: 128 / 0.9306 GB, free: 6.719 MB / 0.7169 GB
Notification: Performance of simCode: created simulation system equations: time 0.008437/1.041, allocations: 3.421 MB / 0.934 GB, free: 3.125 MB / 0.7169 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/1.045, allocations: 0.5561 MB / 0.9345 GB, free: 2.586 MB / 0.7169 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/1.055, allocations: 4.062 MB / 0.9385 GB, free: 14.47 MB / 0.7325 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/1.056, allocations: 1.473 MB / 0.9399 GB, free: 12.97 MB / 0.7325 GB
Notification: Performance of simCode: alias equations: time 0.001767/1.058, allocations: 429.6 kB / 0.9403 GB, free: 12.54 MB / 0.7325 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/1.058, allocations: 111.4 kB / 0.9404 GB, free: 12.43 MB / 0.7325 GB
Notification: Performance of SimCode: time 1.182e-06/1.058, allocations: 0 / 0.9404 GB, free: 12.43 MB / 0.7325 GB
Notification: Performance of Templates: time 0.07652/1.135, allocations: 40.73 MB / 0.9802 GB, free: 4.129 MB / 0.7637 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660]
(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 & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 8.533656186424196]
Failed to read output from testmodel.py, exit status != 0:
1.1452519809827209 1.169373575 0.43790228200000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fedf3fad7b0>