Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007452/0.0007452, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007743/0.0007743, allocations: 165.9 kB / 22.46 MB, free: 2.109 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 0.8583/0.8583, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001917/0.001917, allocations: 233.9 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6703/0.6703, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.515e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.001814/0.001829, allocations: 1.639 MB / 0.6479 GB, free: 252 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2202/0.222, allocations: 0.627 MB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.774e-05/0.2221, allocations: 5.031 kB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.2223, allocations: 25.05 kB / 0.6485 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.2225, allocations: 44.53 kB / 0.6486 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.2229, allocations: 119.8 kB / 0.6487 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.2232, allocations: 189.7 kB / 0.6489 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.2233, allocations: 23.08 kB / 0.6489 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.2236, allocations: 119.8 kB / 0.649 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.2237, allocations: 74.55 kB / 0.6491 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.2238, allocations: 14.66 kB / 0.6491 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.2239, allocations: 28.58 kB / 0.6491 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.523e-05/0.224, allocations: 35.08 kB / 0.6491 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.224, allocations: 52.97 kB / 0.6492 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.2244, allocations: 199.4 kB / 0.6494 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2244, allocations: 1.844 kB / 0.6494 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2244, allocations: 0 / 0.6494 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2244, allocations: 0.6875 kB / 0.6494 GB, free: 55.7 MB / 0.5573 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.0005914/0.225, allocations: 491.2 kB / 0.6499 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.225, allocations: 13.69 kB / 0.6499 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.706e-05/0.2251, allocations: 39.78 kB / 0.6499 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.2252, allocations: 27.94 kB / 0.6499 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.2255, allocations: 184.9 kB / 0.6501 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.2255, allocations: 9.875 kB / 0.6501 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.2256, allocations: 15.41 kB / 0.6501 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2258, allocations: 168.9 kB / 0.6503 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.2258, allocations: 3.219 kB / 0.6503 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2258, allocations: 16.09 kB / 0.6503 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2259, allocations: 1.406 kB / 0.6503 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.226, allocations: 130.5 kB / 0.6504 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.2265, allocations: 358.7 kB / 0.6508 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.2267, allocations: 145.6 kB / 0.6509 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2268, allocations: 126.3 kB / 0.651 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.2268, allocations: 2.531 kB / 0.651 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.227, allocations: 237.2 kB / 0.6513 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.227, allocations: 0 / 0.6513 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0004955/0.2275, allocations: 483.1 kB / 0.6517 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2276, allocations: 164.8 kB / 0.6519 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.2277, allocations: 184.2 kB / 0.6521 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2277, allocations: 30.19 kB / 0.6521 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.2277, allocations: 109.8 kB / 0.6522 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.2278, allocations: 23.86 kB / 0.6522 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.2278, allocations: 38.39 kB / 0.6523 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.2279, allocations: 327.1 kB / 0.6526 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-05/0.228, allocations: 162.7 kB / 0.6527 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.2281, allocations: 224.1 kB / 0.6529 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.2283, allocations: 315.8 kB / 0.6532 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2283, allocations: 0 / 0.6532 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003379/0.2286, allocations: 466.1 kB / 0.6537 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.212e-05/0.2287, allocations: 115.4 kB / 0.6538 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2287, allocations: 5.312 kB / 0.6538 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2287, allocations: 4.797 kB / 0.6538 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.2288, allocations: 23.19 kB / 0.6538 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2288, allocations: 2.703 kB / 0.6538 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.192e-05/0.2288, allocations: 22.28 kB / 0.6538 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.2289, allocations: 9.984 kB / 0.6539 GB, free: 52.3 MB / 0.5573 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.0001038/0.229, allocations: 205.5 kB / 0.6541 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.229, allocations: 17.67 kB / 0.6541 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/0.229, allocations: 23.72 kB / 0.6541 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2291, allocations: 1.125 kB / 0.6541 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2291, allocations: 1.812 kB / 0.6541 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2291, allocations: 0 / 0.6541 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.2296, allocations: 0.5972 MB / 0.6547 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2296, allocations: 0 / 0.6547 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.2296, allocations: 11.52 kB / 0.6547 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2296, allocations: 1.406 kB / 0.6547 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.2297, allocations: 10.36 kB / 0.6547 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2297, allocations: 3.844 kB / 0.6547 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2297, allocations: 1.594 kB / 0.6547 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.23, allocations: 470.1 kB / 0.6552 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.23, allocations: 15.75 kB / 0.6552 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.23, allocations: 5.156 kB / 0.6552 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.073e-05/0.2301, allocations: 11.28 kB / 0.6552 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.2301, allocations: 12.11 kB / 0.6552 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.2302, allocations: 10.27 kB / 0.6552 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.282e-05/0.2302, allocations: 131.1 kB / 0.6553 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2302, allocations: 5.062 kB / 0.6553 GB, free: 51.19 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002243/0.2305, allocations: 39.14 kB / 0.6554 GB, free: 51.18 MB / 0.5573 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.000697/0.2312, allocations: 1.017 MB / 0.6564 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.2315, allocations: 0.5218 MB / 0.6569 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2315, allocations: 1.594 kB / 0.6569 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.2316, allocations: 242.7 kB / 0.6571 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.2319, allocations: 20.89 kB / 0.6571 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.2336, allocations: 2.629 MB / 0.6597 GB, free: 47.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.35e-05/0.2337, allocations: 101.5 kB / 0.6598 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.015e-05/0.2337, allocations: 24.42 kB / 0.6598 GB, free: 47.33 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.2338, allocations: 33.59 kB / 0.6598 GB, free: 47.31 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/0.2338, allocations: 1.688 kB / 0.6598 GB, free: 47.31 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.2511, allocations: 4.48 MB / 0.6642 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.447/6.698, allocations: 22.67 kB / 0.6642 GB, free: 46.17 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVWriter.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.38313811738044] Failed to read output from testmodel.py, exit status != 0: 6.775510691106319 6.783478038 6.557222583 Calling exit ...