Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.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.001554/0.001554, allocations: 110 kB / 18.93 MB, free: 2.945 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.002063/0.002063, allocations: 192 kB / 22.23 MB, free: 5.16 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.497/1.497, allocations: 225.6 MB / 251 MB, free: 13.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/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.206/1.206, allocations: 177.9 MB / 484.2 MB, free: 5.371 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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource")
translateModel(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 64.73 kB / 0.674 GB, free: 10.84 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6203/0.6225, allocations: 95.17 MB / 0.7669 GB, free: 7.977 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.005205/0.6277, allocations: 3.313 MB / 0.7701 GB, free: 6.098 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.002348/0.63, allocations: 1.411 MB / 0.7715 GB, free: 5.137 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.6302, allocations: 8.719 kB / 0.7715 GB, free: 5.133 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.00113/0.6313, allocations: 357.3 kB / 0.7719 GB, free: 4.926 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.6317, allocations: 149.5 kB / 0.772 GB, free: 4.84 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.6321, allocations: 143.3 kB / 0.7721 GB, free: 4.77 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0004254/0.6325, allocations: 329.7 kB / 0.7725 GB, free: 4.625 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/0.6329, allocations: 196.9 kB / 0.7726 GB, free: 4.516 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.6332, allocations: 139.8 kB / 0.7728 GB, free: 4.457 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.6335, allocations: 156.1 kB / 0.7729 GB, free: 4.391 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 4.792e-05/0.6335, allocations: 20.72 kB / 0.7729 GB, free: 4.391 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.6339, allocations: 167 kB / 0.7731 GB, free: 4.34 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.634, allocations: 84.55 kB / 0.7732 GB, free: 4.305 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.6342, allocations: 129.8 kB / 0.7733 GB, free: 4.227 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005204/0.6347, allocations: 350 kB / 0.7736 GB, free: 4.113 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6347, allocations: 2.172 kB / 0.7736 GB, free: 4.113 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.6347, allocations: 4 kB / 0.7736 GB, free: 4.109 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 8.275e-06/0.6347, allocations: 0 / 0.7736 GB, free: 4.109 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: 53
 * Number of variables: 53
Notification: Performance of Generate backend data structure: time 0.0009132/0.6356, allocations: 485.8 kB / 0.7741 GB, free: 3.719 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.6357, allocations: 9.469 kB / 0.7741 GB, free: 3.719 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006667/0.6363, allocations: 80.7 kB / 0.7742 GB, free: 3.703 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.6366, allocations: 201 kB / 0.7744 GB, free: 3.527 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.6367, allocations: 20.95 kB / 0.7744 GB, free: 3.516 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.6367, allocations: 17.06 kB / 0.7744 GB, free: 3.512 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.6373, allocations: 315.9 kB / 0.7747 GB, free: 3.344 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.6373, allocations: 0.6094 kB / 0.7747 GB, free: 3.344 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.6373, allocations: 10.81 kB / 0.7747 GB, free: 3.336 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-05/0.6374, allocations: 17.2 kB / 0.7748 GB, free: 3.332 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.6378, allocations: 211 kB / 0.775 GB, free: 3.266 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.6393, allocations: 1.459 MB / 0.7764 GB, free: 1.953 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.6398, allocations: 129 kB / 0.7765 GB, free: 1.891 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.6399, allocations: 41.05 kB / 0.7765 GB, free: 1.871 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.6399, allocations: 1.125 kB / 0.7765 GB, free: 1.871 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.6399, allocations: 33.02 kB / 0.7766 GB, free: 1.832 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.6399, allocations: 4 kB / 0.7766 GB, free: 1.828 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=8): time 0.0005997/0.6405, allocations: 188.7 kB / 0.7768 GB, free: 1.738 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.6405, allocations: 53.34 kB / 0.7768 GB, free: 1.676 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.6407, allocations: 212.1 kB / 0.777 GB, free: 1.535 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.6408, allocations: 26.77 kB / 0.777 GB, free: 1.504 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6409, allocations: 172.8 kB / 0.7772 GB, free: 1.355 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.6409, allocations: 35.62 kB / 0.7772 GB, free: 1.328 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/0.641, allocations: 40.16 kB / 0.7773 GB, free: 1.297 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 8.352e-05/0.641, allocations: 331.6 kB / 0.7776 GB, free: 0.9727 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.6412, allocations: 42.56 kB / 0.7776 GB, free: 0.9609 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.6413, allocations: 120.4 kB / 0.7777 GB, free: 0.8555 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.6416, allocations: 163.4 kB / 0.7779 GB, free: 0.7305 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6416, allocations: 0 / 0.7779 GB, free: 0.7305 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004259/0.642, allocations: 214.4 kB / 0.7781 GB, free: 0.625 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.6421, allocations: 7.906 kB / 0.7781 GB, free: 0.625 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6421, allocations: 1.875 kB / 0.7781 GB, free: 0.625 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/0.6423, allocations: 28.3 kB / 0.7781 GB, free: 0.6133 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.6424, allocations: 36.67 kB / 0.7782 GB, free: 0.6055 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.6435, allocations: 1.324 MB / 0.7795 GB, free: 15.31 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.6436, allocations: 18.12 kB / 0.7795 GB, free: 15.3 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.6437, allocations: 14.59 kB / 0.7795 GB, free: 15.29 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * 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 (18):
 * Single equations (assignments): 17
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.6438, allocations: 147.2 kB / 0.7796 GB, free: 15.16 MB / 0.5919 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.6439, allocations: 27.17 kB / 0.7797 GB, free: 15.14 MB / 0.5919 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.6439, allocations: 19.36 kB / 0.7797 GB, free: 15.13 MB / 0.5919 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6439, allocations: 0.6562 kB / 0.7797 GB, free: 15.13 MB / 0.5919 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6439, allocations: 0 / 0.7797 GB, free: 15.13 MB / 0.5919 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.6439, allocations: 0.7031 kB / 0.7797 GB, free: 15.13 MB / 0.5919 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/0.6446, allocations: 461.1 kB / 0.7801 GB, free: 14.79 MB / 0.5919 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6446, allocations: 2.594 kB / 0.7801 GB, free: 14.79 MB / 0.5919 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.6447, allocations: 14.3 kB / 0.7801 GB, free: 14.78 MB / 0.5919 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.47e-05/0.6448, allocations: 23.19 kB / 0.7802 GB, free: 14.77 MB / 0.5919 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.6448, allocations: 6.203 kB / 0.7802 GB, free: 14.77 MB / 0.5919 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.6459, allocations: 1.327 MB / 0.7815 GB, free: 13.46 MB / 0.5919 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6459, allocations: 0 / 0.7815 GB, free: 13.46 MB / 0.5919 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.6462, allocations: 237.9 kB / 0.7817 GB, free: 13.29 MB / 0.5919 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/0.6463, allocations: 23.94 kB / 0.7817 GB, free: 13.27 MB / 0.5919 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.6463, allocations: 4 kB / 0.7817 GB, free: 13.27 MB / 0.5919 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.6464, allocations: 6.922 kB / 0.7817 GB, free: 13.27 MB / 0.5919 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.6465, allocations: 7.469 kB / 0.7817 GB, free: 13.27 MB / 0.5919 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-06/0.6465, allocations: 7.938 kB / 0.7817 GB, free: 13.26 MB / 0.5919 GB
Notification: Performance of sorting global known variables: time 0.0001436/0.6466, allocations: 146.3 kB / 0.7819 GB, free: 13.17 MB / 0.5919 GB
Notification: Performance of sort global known variables: time 8e-08/0.6466, allocations: 0 / 0.7819 GB, free: 13.17 MB / 0.5919 GB
Notification: Performance of remove unused functions: time 0.0003687/0.647, allocations: 68.84 kB / 0.7819 GB, free: 13.14 MB / 0.5919 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 (7):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001251/0.6471, allocations: 103.8 kB / 0.782 GB, free: 13.05 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.0005269/0.6477, allocations: 226.3 kB / 0.7823 GB, free: 12.9 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6477, allocations: 0 / 0.7823 GB, free: 12.9 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.000231/0.6479, allocations: 154.7 kB / 0.7824 GB, free: 12.78 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.6484, allocations: 34.52 kB / 0.7824 GB, free: 12.77 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008197/0.6492, allocations: 406.6 kB / 0.7828 GB, free: 12.51 MB / 0.5919 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.6497, allocations: 0.7575 MB / 0.7836 GB, free: 11.8 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.0001097/0.6498, allocations: 27.28 kB / 0.7836 GB, free: 11.79 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.6498, allocations: 15.36 kB / 0.7836 GB, free: 11.79 MB / 0.5919 GB
Notification: Performance of SimCode: time 3.1e-07/0.6498, allocations: 3.938 kB / 0.7836 GB, free: 11.78 MB / 0.5919 GB
Notification: Performance of Templates: time 0.006832/0.6566, allocations: 2.046 MB / 0.7856 GB, free: 11.61 MB / 0.5919 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.58187603764236]
Failed to read output from testmodel.py, exit status != 0:
0.6671274919062853 0.683985677 0.045924639
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc2a8e797b0>