Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001303/0.001303, allocations: 114.7 kB / 17.6 MB, free: 4.66 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.001341/0.001341, allocations: 185.9 kB / 20.78 MB, free: 1.496 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.475/1.475, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.828/2.828, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.89 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9931/0.9951, allocations: 168.7 MB / 1.272 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002835/0.998, allocations: 1.648 MB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009186/0.9989, allocations: 0.6149 MB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.999, allocations: 6 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.9991, allocations: 21.59 kB / 1.274 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.9993, allocations: 48.72 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.9997, allocations: 110.5 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/1, allocations: 182.3 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/1, allocations: 18.08 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/1, allocations: 91.97 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/1, allocations: 82.81 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/1, allocations: 13.88 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/1, allocations: 31.33 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/1.001, allocations: 33.84 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.568e-05/1.001, allocations: 70.34 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/1.001, allocations: 176.8 kB / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.001, allocations: 0 / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/1.001, allocations: 0.9062 kB / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.001, allocations: 1.641 kB / 1.275 GB, free: 5.762 MB / 0.9981 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.0005947/1.001, allocations: 0.5494 MB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/1.002, allocations: 9.219 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/1.002, allocations: 44.66 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/1.002, allocations: 24.81 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/1.002, allocations: 233.2 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/1.002, allocations: 10.47 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/1.002, allocations: 11.5 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/1.002, allocations: 119.6 kB / 1.276 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/1.002, allocations: 0 / 1.276 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/1.002, allocations: 6.594 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.002, allocations: 1.656 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/1.002, allocations: 69.77 kB / 1.276 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/1.003, allocations: 421.2 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/1.003, allocations: 82.53 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/1.003, allocations: 69.59 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/1.003, allocations: 2 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/1.004, allocations: 178.8 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/1.004, allocations: 0 / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007293/1.004, allocations: 368 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/1.004, allocations: 166 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/1.005, allocations: 177.9 kB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/1.005, allocations: 33.11 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/1.005, allocations: 107.5 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/1.005, allocations: 29.8 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/1.005, allocations: 38.42 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.678e-05/1.005, allocations: 335.8 kB / 1.278 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/1.005, allocations: 47.08 kB / 1.278 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/1.005, allocations: 105 kB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/1.005, allocations: 313.6 kB / 1.278 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.005, allocations: 4 kB / 1.278 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004896/1.006, allocations: 351.1 kB / 1.278 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/1.006, allocations: 120 kB / 1.278 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.006, allocations: 2.094 kB / 1.278 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.006, allocations: 3.094 kB / 1.278 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/1.006, allocations: 16.64 kB / 1.278 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.006, allocations: 6.812 kB / 1.278 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/1.006, allocations: 28.31 kB / 1.278 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/1.006, allocations: 7.156 kB / 1.278 GB, free: 2.559 MB / 0.9981 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.0001091/1.006, allocations: 197.3 kB / 1.279 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/1.006, allocations: 13.92 kB / 1.279 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/1.006, allocations: 13.72 kB / 1.279 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/1.006, allocations: 3.438 kB / 1.279 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.006, allocations: 0 / 1.279 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.006, allocations: 4 kB / 1.279 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/1.007, allocations: 0.5914 MB / 1.279 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.007, allocations: 2.578 kB / 1.279 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.274e-05/1.007, allocations: 9.203 kB / 1.279 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.007, allocations: 1.766 kB / 1.279 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/1.007, allocations: 10.97 kB / 1.279 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.007, allocations: 0.8438 kB / 1.279 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.007, allocations: 5.188 kB / 1.279 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/1.008, allocations: 415.5 kB / 1.28 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/1.008, allocations: 84.53 kB / 1.28 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/1.008, allocations: 5.406 kB / 1.28 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/1.008, allocations: 11.88 kB / 1.28 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/1.008, allocations: 9.422 kB / 1.28 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/1.008, allocations: 8.859 kB / 1.28 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.336e-05/1.008, allocations: 133.8 kB / 1.28 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.008, allocations: 0 / 1.28 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003026/1.008, allocations: 42.55 kB / 1.28 GB, free: 1.41 MB / 0.9981 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.0009367/1.009, allocations: 0.9637 MB / 1.281 GB, free: 16.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000553/1.01, allocations: 358 kB / 1.281 GB, free: 16.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.01, allocations: 0.5 kB / 1.281 GB, free: 16.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/1.01, allocations: 186.7 kB / 1.281 GB, free: 16.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/1.01, allocations: 21.48 kB / 1.281 GB, free: 16.17 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/1.013, allocations: 2.128 MB / 1.284 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/1.013, allocations: 0.7087 MB / 1.284 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.994e-05/1.013, allocations: 25.33 kB / 1.284 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/1.013, allocations: 32.44 kB / 1.284 GB, free: 13.77 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/1.013, allocations: 6.625 kB / 1.284 GB, free: 13.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/1.039, allocations: 3.667 MB / 1.288 GB, free: 13.12 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/9.196, allocations: 0 / 1.288 GB, free: 13.12 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.csv --start-time -1.21 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVWriter.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.181465596018825] Failed to read output from testmodel.py, exit status != 0: 9.27176434500143 9.296342589 8.290837469 Calling exit ...