Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008986/0.0008986, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008649/0.0008649, allocations: 177 kB / 23.5 MB, free: 1.051 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.07/1.07, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7973/0.7973, allocations: 154.6 MB / 414.9 MB, free: 0.6641 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.5203 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.747e-05, allocations: 7.297 kB / 0.5203 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003031/0.003058, allocations: 1.654 MB / 0.5219 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004339, allocations: 0.6644 MB / 0.5226 GB, free: 204 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.004449, allocations: 8.969 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.004632, allocations: 15.81 kB / 0.5226 GB, free: 180 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.004887, allocations: 52.38 kB / 0.5227 GB, free: 128 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.005314, allocations: 123.6 kB / 0.5228 GB, free: 4 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.005617, allocations: 188.8 kB / 0.523 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.005751, allocations: 25.61 kB / 0.523 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.006015, allocations: 112.4 kB / 0.5231 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.00614, allocations: 79.83 kB / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.006174, allocations: 12.97 kB / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.562e-05/0.00626, allocations: 35.88 kB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.602e-05/0.006356, allocations: 32.34 kB / 0.5232 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.652e-05/0.006443, allocations: 55.89 kB / 0.5233 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.006702, allocations: 144.3 kB / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.006707, allocations: 0 / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006708, allocations: 2.062 kB / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.006715, allocations: 4 kB / 0.5234 GB, free: 15.33 MB / 0.4948 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.0007157/0.007431, allocations: 0.5807 MB / 0.524 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.007485, allocations: 15.97 kB / 0.524 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.007709, allocations: 34.02 kB / 0.5241 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.008045, allocations: 188.5 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.008066, allocations: 9.844 kB / 0.5242 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.008097, allocations: 12.38 kB / 0.5243 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.008393, allocations: 166.2 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.008403, allocations: 1.031 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.008426, allocations: 12.12 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.008437, allocations: 1.5 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.008584, allocations: 87.38 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006328/0.009217, allocations: 391.5 kB / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.009388, allocations: 118.9 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.009509, allocations: 104.1 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.009537, allocations: 3.938 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.009775, allocations: 224.8 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.009777, allocations: 0 / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0006471/0.01042, allocations: 419.7 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/0.01052, allocations: 162.8 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.01071, allocations: 235.2 kB / 0.5261 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-05/0.01078, allocations: 34.3 kB / 0.5261 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.01087, allocations: 160.6 kB / 0.5263 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.0109, allocations: 23.8 kB / 0.5263 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/0.01097, allocations: 43.36 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.01112, allocations: 0.5001 MB / 0.5268 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.01123, allocations: 137.3 kB / 0.527 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.01139, allocations: 216.3 kB / 0.5272 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.01162, allocations: 298 kB / 0.5275 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.01162, allocations: 0 / 0.5275 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000438/0.01206, allocations: 424.6 kB / 0.5279 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/0.01213, allocations: 118.8 kB / 0.528 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.01214, allocations: 4 kB / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.01216, allocations: 4.969 kB / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.01226, allocations: 15.98 kB / 0.528 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.01227, allocations: 4.938 kB / 0.528 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.01235, allocations: 19.89 kB / 0.528 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.01237, allocations: 8 kB / 0.528 GB, free: 10.04 MB / 0.4948 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.000145/0.01251, allocations: 242.4 kB / 0.5283 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.01256, allocations: 27.84 kB / 0.5283 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.01259, allocations: 17.45 kB / 0.5283 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.0126, allocations: 0 / 0.5283 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.0126, allocations: 0 / 0.5283 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.0126, allocations: 0 / 0.5283 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.01318, allocations: 0.586 MB / 0.5289 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01318, allocations: 0 / 0.5289 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.01323, allocations: 15.02 kB / 0.5289 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01323, allocations: 0 / 0.5289 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.01325, allocations: 4 kB / 0.5289 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.01325, allocations: 3.984 kB / 0.5289 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01325, allocations: 0 / 0.5289 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.01369, allocations: 490.4 kB / 0.5294 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.01371, allocations: 23.81 kB / 0.5294 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.01374, allocations: 4 kB / 0.5294 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.01383, allocations: 9.406 kB / 0.5294 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.01388, allocations: 11.98 kB / 0.5294 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.01389, allocations: 4 kB / 0.5294 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001848/0.01408, allocations: 174.8 kB / 0.5296 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01408, allocations: 0 / 0.5296 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003216/0.0144, allocations: 39.94 kB / 0.5296 GB, free: 8.293 MB / 0.4948 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.0002411/0.01464, allocations: 133.7 kB / 0.5297 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004067/0.01505, allocations: 492.3 kB / 0.5302 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01505, allocations: 0 / 0.5302 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.01522, allocations: 233.8 kB / 0.5304 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.01549, allocations: 32.73 kB / 0.5305 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.01611, allocations: 342.3 kB / 0.5308 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.105e-05/0.01615, allocations: 64.03 kB / 0.5309 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.334e-05/0.0162, allocations: 21.69 kB / 0.5309 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.01623, allocations: 16.48 kB / 0.5309 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.01623, allocations: 4 kB / 0.5309 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of Templates: time 0.003978/0.02021, allocations: 2.191 MB / 0.533 GB, free: 4.789 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.883658164879307]