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.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.001113/0.001113, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.000866/0.000866, allocations: 223.2 kB / 22.26 MB, free: 3.707 MB / 13.93 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 0.9889/0.9889, allocations: 230.6 MB / 256 MB, free: 9.824 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7986/0.7986, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 65.92 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5178, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002444/0.5202, allocations: 1.652 MB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.5211, allocations: 0.6948 MB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.5212, allocations: 3.5 kB / 0.8202 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.5214, allocations: 23.36 kB / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.5216, allocations: 40.41 kB / 0.8202 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.5219, allocations: 129.2 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.5222, allocations: 185.4 kB / 0.8205 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.5223, allocations: 27 kB / 0.8205 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.5225, allocations: 91.14 kB / 0.8206 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.5227, allocations: 83.42 kB / 0.8207 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.5227, allocations: 16.7 kB / 0.8207 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.931e-05/0.5228, allocations: 36.14 kB / 0.8208 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.485e-05/0.5229, allocations: 26.55 kB / 0.8208 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.953e-05/0.5229, allocations: 76.62 kB / 0.8209 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.5232, allocations: 174.8 kB / 0.821 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5232, allocations: 0 / 0.821 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5232, allocations: 3.938 kB / 0.821 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.5232, allocations: 4 kB / 0.821 GB, free: 15.22 MB / 0.6198 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.0006197/0.5239, allocations: 0.4969 MB / 0.8215 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5239, allocations: 7.094 kB / 0.8215 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.524, allocations: 35.22 kB / 0.8216 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.5241, allocations: 32.58 kB / 0.8216 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.5245, allocations: 177.3 kB / 0.8218 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.5245, allocations: 9.188 kB / 0.8218 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.5246, allocations: 15.81 kB / 0.8218 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.5248, allocations: 116.3 kB / 0.8219 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.5248, allocations: 0 / 0.8219 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.5248, allocations: 10.17 kB / 0.8219 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5248, allocations: 1 kB / 0.8219 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.525, allocations: 68.52 kB / 0.822 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005628/0.5255, allocations: 394 kB / 0.8223 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.5257, allocations: 78.58 kB / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.896e-05/0.5258, allocations: 66.41 kB / 0.8225 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.5258, allocations: 11.08 kB / 0.8225 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.526, allocations: 179.2 kB / 0.8227 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.526, allocations: 0 / 0.8227 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005465/0.5265, allocations: 356.7 kB / 0.823 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.5266, allocations: 166.4 kB / 0.8232 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.5268, allocations: 176.6 kB / 0.8233 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5268, allocations: 37.8 kB / 0.8234 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.5268, allocations: 114.9 kB / 0.8235 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.5269, allocations: 26.31 kB / 0.8235 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.5269, allocations: 39.59 kB / 0.8235 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.527, allocations: 330.5 kB / 0.8238 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-05/0.5271, allocations: 55.48 kB / 0.8239 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.5272, allocations: 101.5 kB / 0.824 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.5275, allocations: 312.3 kB / 0.8243 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5275, allocations: 1.062 kB / 0.8243 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003893/0.5279, allocations: 355.6 kB / 0.8246 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.084e-05/0.5279, allocations: 118 kB / 0.8247 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5279, allocations: 2.656 kB / 0.8248 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.528, allocations: 3.141 kB / 0.8248 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.5281, allocations: 16.31 kB / 0.8248 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5281, allocations: 2.5 kB / 0.8248 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.5281, allocations: 18.7 kB / 0.8248 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.5281, allocations: 8.875 kB / 0.8248 GB, free: 12.22 MB / 0.6198 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.0001311/0.5283, allocations: 209.5 kB / 0.825 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.5283, allocations: 17.16 kB / 0.825 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.5283, allocations: 14.98 kB / 0.825 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5283, allocations: 1.844 kB / 0.825 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5283, allocations: 1.469 kB / 0.825 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5283, allocations: 0.5625 kB / 0.825 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/0.529, allocations: 0.5648 MB / 0.8256 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.529, allocations: 0 / 0.8256 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.529, allocations: 18.17 kB / 0.8256 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.529, allocations: 1.625 kB / 0.8256 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.529, allocations: 6.875 kB / 0.8256 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.529, allocations: 0.6562 kB / 0.8256 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.529, allocations: 5.031 kB / 0.8256 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.5295, allocations: 408.7 kB / 0.826 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.5295, allocations: 14.75 kB / 0.826 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.5296, allocations: 8.906 kB / 0.826 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.408e-05/0.5296, allocations: 8.641 kB / 0.826 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.5297, allocations: 9.703 kB / 0.826 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.5297, allocations: 15.97 kB / 0.8261 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001199/0.5298, allocations: 131.2 kB / 0.8262 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5298, allocations: 0 / 0.8262 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002542/0.5301, allocations: 35.03 kB / 0.8262 GB, free: 11.19 MB / 0.6198 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.0009724/0.5311, allocations: 0.9688 MB / 0.8272 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004464/0.5315, allocations: 367.5 kB / 0.8275 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5315, allocations: 0 / 0.8275 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.5317, allocations: 179.8 kB / 0.8277 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.5319, allocations: 35.11 kB / 0.8277 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.5339, allocations: 2.116 MB / 0.8298 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.5342, allocations: 0.7107 MB / 0.8305 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.594e-05/0.5342, allocations: 20.3 kB / 0.8305 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.713e-05/0.5343, allocations: 37.14 kB / 0.8305 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.5343, allocations: 0 / 0.8305 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.5563, allocations: 3.851 MB / 0.8343 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.616/7.172, allocations: 6.203 kB / 0.8343 GB, free: 6.832 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVWriter_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVWriter.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.138534615049139] Failed to read output from testmodel.py, exit status != 0: 7.250032023061067 7.258055409 6.732974362 Calling exit ...