Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.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.001434/0.001434, 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.0017/0.0017, allocations: 191.4 kB / 22.23 MB, free: 5.156 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.508/1.508, 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.135/1.135, allocations: 177.9 MB / 484.2 MB, free: 5.363 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.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter")
translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 73.28 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.7001, allocations: 95.17 MB / 0.7669 GB, free: 7.961 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003256/0.7034, allocations: 1.617 MB / 0.7685 GB, free: 7.176 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.001062/0.7045, allocations: 0.6291 MB / 0.7691 GB, free: 6.742 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/0.7045, allocations: 1.5 kB / 0.7691 GB, free: 6.742 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.7047, allocations: 25.38 kB / 0.7691 GB, free: 6.723 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.7049, allocations: 44.98 kB / 0.7692 GB, free: 6.695 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.7053, allocations: 115.9 kB / 0.7693 GB, free: 6.633 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0003112/0.7056, allocations: 187.6 kB / 0.7695 GB, free: 6.551 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.7058, allocations: 27.05 kB / 0.7695 GB, free: 6.539 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.7059, allocations: 85.3 kB / 0.7696 GB, free: 6.504 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.7061, allocations: 86.39 kB / 0.7697 GB, free: 6.469 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.7061, allocations: 13.66 kB / 0.7697 GB, free: 6.469 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.778e-05/0.7062, allocations: 29.38 kB / 0.7697 GB, free: 6.461 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.000108/0.7063, allocations: 36.17 kB / 0.7697 GB, free: 6.441 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.7064, allocations: 72.53 kB / 0.7698 GB, free: 6.402 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.7067, allocations: 165.8 kB / 0.77 GB, free: 6.344 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7067, allocations: 0 / 0.77 GB, free: 6.344 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 8.82e-07/0.7067, allocations: 1.219 kB / 0.77 GB, free: 6.344 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.171e-06/0.7067, allocations: 0 / 0.77 GB, free: 6.344 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: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0007167/0.7074, allocations: 499.6 kB / 0.7704 GB, free: 5.887 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.7075, allocations: 12.78 kB / 0.7705 GB, free: 5.883 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.7075, allocations: 20.41 kB / 0.7705 GB, free: 5.875 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.7079, allocations: 180.5 kB / 0.7706 GB, free: 5.715 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.7079, allocations: 11.06 kB / 0.7707 GB, free: 5.711 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.708, allocations: 11.03 kB / 0.7707 GB, free: 5.711 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.7083, allocations: 113.6 kB / 0.7708 GB, free: 5.656 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.7083, allocations: 3.938 kB / 0.7708 GB, free: 5.652 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.7083, allocations: 2.875 kB / 0.7708 GB, free: 5.652 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.7083, allocations: 3.125 kB / 0.7708 GB, free: 5.652 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.7085, allocations: 71.52 kB / 0.7709 GB, free: 5.633 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/0.7092, allocations: 386 kB / 0.7712 GB, free: 5.344 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.7094, allocations: 76.27 kB / 0.7713 GB, free: 5.305 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.7096, allocations: 71.7 kB / 0.7714 GB, free: 5.277 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.7096, allocations: 5.422 kB / 0.7714 GB, free: 5.273 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.7099, allocations: 174.9 kB / 0.7715 GB, free: 5.145 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.7099, allocations: 0 / 0.7715 GB, free: 5.145 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=10): time 0.0008324/0.7107, allocations: 362.6 kB / 0.7719 GB, free: 4.973 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.7108, allocations: 168.6 kB / 0.772 GB, free: 4.781 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.711, allocations: 190.1 kB / 0.7722 GB, free: 4.641 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.711, allocations: 28.83 kB / 0.7723 GB, free: 4.609 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.7111, allocations: 105.3 kB / 0.7724 GB, free: 4.508 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.7112, allocations: 31.39 kB / 0.7724 GB, free: 4.484 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-05/0.7112, allocations: 43.5 kB / 0.7724 GB, free: 4.457 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001348/0.7114, allocations: 329.8 kB / 0.7727 GB, free: 4.133 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.7116, allocations: 51.75 kB / 0.7728 GB, free: 4.121 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.7118, allocations: 102.3 kB / 0.7729 GB, free: 4.043 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.7122, allocations: 312.6 kB / 0.7732 GB, free: 3.75 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7123, allocations: 0.9062 kB / 0.7732 GB, free: 3.75 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007226/0.713, allocations: 356 kB / 0.7735 GB, free: 3.527 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.7131, allocations: 115.8 kB / 0.7736 GB, free: 3.402 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.7131, allocations: 2.094 kB / 0.7736 GB, free: 3.402 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.738e-05/0.7131, allocations: 3.859 kB / 0.7736 GB, free: 3.402 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.7133, allocations: 23.14 kB / 0.7737 GB, free: 3.395 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.7133, allocations: 3.516 kB / 0.7737 GB, free: 3.395 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.7135, allocations: 15.97 kB / 0.7737 GB, free: 3.391 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.7135, allocations: 12.53 kB / 0.7737 GB, free: 3.387 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * Number of states: 0 ()
 * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (14):
 * Single equations (assignments): 10
 * Array equations: 0
 * Algorithm blocks: 4
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.7137, allocations: 204.2 kB / 0.7739 GB, free: 3.188 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.7137, allocations: 17.44 kB / 0.7739 GB, free: 3.18 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.7138, allocations: 15.36 kB / 0.7739 GB, free: 3.156 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.7138, allocations: 1.781 kB / 0.7739 GB, free: 3.156 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7138, allocations: 0 / 0.7739 GB, free: 3.156 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.7138, allocations: 1.156 kB / 0.7739 GB, free: 3.156 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008437/0.7146, allocations: 0.5675 MB / 0.7745 GB, free: 2.742 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7146, allocations: 0 / 0.7745 GB, free: 2.742 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.7147, allocations: 11.8 kB / 0.7745 GB, free: 2.742 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.7147, allocations: 2.531 kB / 0.7745 GB, free: 2.742 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.7147, allocations: 9.406 kB / 0.7745 GB, free: 2.738 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7147, allocations: 1 kB / 0.7745 GB, free: 2.738 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7147, allocations: 3.938 kB / 0.7745 GB, free: 2.734 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.7154, allocations: 417.5 kB / 0.7749 GB, free: 2.469 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.7154, allocations: 12.03 kB / 0.7749 GB, free: 2.461 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.7155, allocations: 7.719 kB / 0.7749 GB, free: 2.457 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.7156, allocations: 8.328 kB / 0.7749 GB, free: 2.457 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.7157, allocations: 9.922 kB / 0.7749 GB, free: 2.453 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.7157, allocations: 11.53 kB / 0.7749 GB, free: 2.449 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0001035/0.7158, allocations: 125.3 kB / 0.7751 GB, free: 2.363 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 9e-08/0.7158, allocations: 0 / 0.7751 GB, free: 2.363 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003136/0.7161, allocations: 43.09 kB / 0.7751 GB, free: 2.352 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger)
 * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (8):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002783/0.7164, allocations: 123.6 kB / 0.7752 GB, free: 2.254 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0005189/0.7169, allocations: 357.7 kB / 0.7756 GB, free: 1.965 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7169, allocations: 4 kB / 0.7756 GB, free: 1.961 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.7172, allocations: 182 kB / 0.7757 GB, free: 1.816 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.7175, allocations: 26.52 kB / 0.7758 GB, free: 1.809 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.7181, allocations: 289.6 kB / 0.776 GB, free: 1.621 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.7183, allocations: 0.7158 MB / 0.7767 GB, free: 0.918 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 7.342e-05/0.7184, allocations: 16.52 kB / 0.7768 GB, free: 0.918 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.7184, allocations: 21.19 kB / 0.7768 GB, free: 0.9062 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.71e-07/0.7184, allocations: 3.938 kB / 0.7768 GB, free: 0.9023 MB / 0.5762 GB
Notification: Performance of Templates: time 0.00717/0.7256, allocations: 2.132 MB / 0.7789 GB, free: 0.6172 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.809543808922172]
Failed to read output from testmodel.py, exit status != 0:
0.7348897466436028 0.7519356890000001 0.041609818
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0d6c2bd7b0>