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.0009309/0.0009309, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009487/0.0009487, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.9467/0.9467, allocations: 230.6 MB / 256 MB, free: 9.625 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.7811/0.7811, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.0009167/0.0009167, allocations: 61.5 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5096, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002467/0.5121, allocations: 1.624 MB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008707/0.513, allocations: 0.6502 MB / 0.82 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.5131, allocations: 7.625 kB / 0.82 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.5132, allocations: 15.33 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.5135, allocations: 48.38 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.5138, allocations: 126.9 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.5141, allocations: 190.7 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.5142, allocations: 23.14 kB / 0.8204 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.5144, allocations: 86.45 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.5145, allocations: 82.25 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.5145, allocations: 11.91 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.522e-05/0.5146, allocations: 32.81 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.793e-05/0.5147, allocations: 29.59 kB / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.337e-05/0.5148, allocations: 68.31 kB / 0.8207 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.515, allocations: 169.8 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.515, allocations: 0 / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.255e-06/0.515, allocations: 4 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.515, allocations: 0 / 0.8209 GB, free: 15.09 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.0006559/0.5157, allocations: 0.495 MB / 0.8213 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.5157, allocations: 9.344 kB / 0.8214 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.5158, allocations: 37.11 kB / 0.8214 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.5159, allocations: 27.3 kB / 0.8214 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.5163, allocations: 184.2 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5163, allocations: 12.62 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.5163, allocations: 14.06 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.5166, allocations: 172 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.5166, allocations: 0 / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.5166, allocations: 3.406 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5166, allocations: 2.688 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.5167, allocations: 133.1 kB / 0.8219 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.5172, allocations: 366.8 kB / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.5174, allocations: 144.5 kB / 0.8224 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.5175, allocations: 121.5 kB / 0.8225 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.5175, allocations: 2.875 kB / 0.8225 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.5177, allocations: 239.2 kB / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.5177, allocations: 0 / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000586/0.5183, allocations: 489.2 kB / 0.8232 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.5184, allocations: 165.9 kB / 0.8234 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.5185, allocations: 176.4 kB / 0.8235 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.5185, allocations: 34.17 kB / 0.8236 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.5186, allocations: 111.4 kB / 0.8237 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.5186, allocations: 26 kB / 0.8237 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.5187, allocations: 39.2 kB / 0.8237 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.5188, allocations: 332 kB / 0.8241 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.5189, allocations: 160.2 kB / 0.8242 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.519, allocations: 221.8 kB / 0.8244 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.5193, allocations: 306.2 kB / 0.8247 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5193, allocations: 1.125 kB / 0.8247 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003868/0.5197, allocations: 464.8 kB / 0.8252 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.5197, allocations: 119.7 kB / 0.8253 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5197, allocations: 1.625 kB / 0.8253 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.5197, allocations: 4.344 kB / 0.8253 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.5198, allocations: 15.81 kB / 0.8253 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.5198, allocations: 8.359 kB / 0.8253 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.5199, allocations: 20.91 kB / 0.8253 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.5199, allocations: 8.766 kB / 0.8253 GB, free: 11.26 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.000119/0.52, allocations: 194.7 kB / 0.8255 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.52, allocations: 18.36 kB / 0.8255 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.5201, allocations: 19.22 kB / 0.8256 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5201, allocations: 1.219 kB / 0.8256 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5201, allocations: 0 / 0.8256 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.5201, allocations: 0.5156 kB / 0.8256 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.5207, allocations: 0.6114 MB / 0.8262 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5207, allocations: 8.438 kB / 0.8262 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.5207, allocations: 18.86 kB / 0.8262 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5207, allocations: 0.6094 kB / 0.8262 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.5207, allocations: 12.25 kB / 0.8262 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5207, allocations: 0 / 0.8262 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5207, allocations: 3.938 kB / 0.8262 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.5212, allocations: 462 kB / 0.8266 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.5212, allocations: 16.75 kB / 0.8267 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.5213, allocations: 8.5 kB / 0.8267 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/0.5213, allocations: 10.91 kB / 0.8267 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.5214, allocations: 14.05 kB / 0.8267 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.5214, allocations: 8.141 kB / 0.8267 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.972e-05/0.5215, allocations: 132.2 kB / 0.8268 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5215, allocations: 0 / 0.8268 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002143/0.5217, allocations: 34.95 kB / 0.8269 GB, free: 10.11 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.001163/0.5229, allocations: 1.029 MB / 0.8279 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003951/0.5233, allocations: 0.5102 MB / 0.8284 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5233, allocations: 0 / 0.8284 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.5234, allocations: 248.5 kB / 0.8286 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.5236, allocations: 33.27 kB / 0.8286 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.5257, allocations: 2.611 MB / 0.8312 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.733e-05/0.5258, allocations: 101.3 kB / 0.8313 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.606e-05/0.5259, allocations: 19.2 kB / 0.8313 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.5259, allocations: 37.03 kB / 0.8313 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5259, allocations: 1.094 kB / 0.8313 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.5433, allocations: 4.347 MB / 0.8356 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.55/7.094, allocations: 11.11 kB / 0.8356 GB, free: 5.016 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 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.193055630195886] Failed to read output from testmodel.py, exit status != 0: 7.173102431930602 7.186505998 6.669212963 Calling exit ...