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.001482/0.001482, allocations: 78.17 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001517/0.001517, allocations: 158.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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.312/1.312, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 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.002349/0.002349, allocations: 241.2 kB / 260 MB, free: 436 kB / 238.1 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.8794/0.8794, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 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: translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002862/0.002862, allocations: 91.86 kB / 0.6473 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3721, allocations: 95.35 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.002759/0.3748, allocations: 1.629 MB / 0.742 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0009918/0.3758, allocations: 0.6349 MB / 0.7427 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.3759, allocations: 10.31 kB / 0.7427 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.376, allocations: 26.58 kB / 0.7427 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.3762, allocations: 43.69 kB / 0.7427 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.3767, allocations: 121.4 kB / 0.7429 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.3769, allocations: 187.9 kB / 0.743 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.377, allocations: 15.58 kB / 0.743 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.3772, allocations: 97.31 kB / 0.7431 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3774, allocations: 77.14 kB / 0.7432 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.3774, allocations: 13.94 kB / 0.7432 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.172e-05/0.3775, allocations: 37.52 kB / 0.7433 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.724e-05/0.3776, allocations: 29.67 kB / 0.7433 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.3776, allocations: 67.52 kB / 0.7434 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.3779, allocations: 180.5 kB / 0.7435 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3779, allocations: 3.938 kB / 0.7435 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3779, allocations: 0 / 0.7435 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3779, allocations: 1.188 kB / 0.7435 GB, free: 15.5 MB / 0.5919 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.0005369/0.3784, allocations: 0.4944 MB / 0.744 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.3784, allocations: 9.875 kB / 0.744 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.3786, allocations: 28.7 kB / 0.7441 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.3789, allocations: 180.2 kB / 0.7442 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3789, allocations: 6.75 kB / 0.7442 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.3789, allocations: 15.84 kB / 0.7442 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.3792, allocations: 176.5 kB / 0.7444 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3792, allocations: 0 / 0.7444 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3792, allocations: 2.344 kB / 0.7444 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3792, allocations: 2.281 kB / 0.7444 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.3794, allocations: 132.5 kB / 0.7445 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.3799, allocations: 342.2 kB / 0.7449 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3801, allocations: 133.4 kB / 0.745 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3803, allocations: 127.7 kB / 0.7451 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.3803, allocations: 2.156 kB / 0.7451 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.3805, allocations: 248 kB / 0.7454 GB, free: 14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.3805, allocations: 0 / 0.7454 GB, free: 14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006717/0.3812, allocations: 482 kB / 0.7458 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3812, allocations: 161.6 kB / 0.746 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3814, allocations: 178.9 kB / 0.7461 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3814, allocations: 34.58 kB / 0.7462 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.3814, allocations: 116.4 kB / 0.7463 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.3815, allocations: 25.42 kB / 0.7463 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.3815, allocations: 39.44 kB / 0.7463 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.3816, allocations: 332.6 kB / 0.7467 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3817, allocations: 166.4 kB / 0.7468 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.3819, allocations: 215.3 kB / 0.747 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.3821, allocations: 314.5 kB / 0.7473 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3821, allocations: 1.438 kB / 0.7473 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004708/0.3826, allocations: 463 kB / 0.7478 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.3826, allocations: 120.4 kB / 0.7479 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3826, allocations: 6.156 kB / 0.7479 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3826, allocations: 3.438 kB / 0.7479 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3828, allocations: 15.88 kB / 0.7479 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3828, allocations: 7.812 kB / 0.7479 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.799e-05/0.3829, allocations: 18.81 kB / 0.7479 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.3829, allocations: 8.203 kB / 0.7479 GB, free: 11.73 MB / 0.5919 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.000101/0.383, allocations: 201.2 kB / 0.7481 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.383, allocations: 21.45 kB / 0.7482 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.383, allocations: 14.69 kB / 0.7482 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.383, allocations: 6.219 kB / 0.7482 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.383, allocations: 0 / 0.7482 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3831, allocations: 2.172 kB / 0.7482 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.3836, allocations: 0.5754 MB / 0.7487 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3836, allocations: 0 / 0.7487 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.524e-05/0.3837, allocations: 11.75 kB / 0.7488 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3837, allocations: 0 / 0.7488 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.3837, allocations: 14.89 kB / 0.7488 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3837, allocations: 1.312 kB / 0.7488 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3837, allocations: 4.703 kB / 0.7488 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.3842, allocations: 472.5 kB / 0.7492 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.3842, allocations: 16.92 kB / 0.7492 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.3843, allocations: 5.469 kB / 0.7492 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.3844, allocations: 7.031 kB / 0.7493 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.3844, allocations: 10.11 kB / 0.7493 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.3844, allocations: 11.98 kB / 0.7493 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.738e-05/0.3845, allocations: 131.5 kB / 0.7494 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.3845, allocations: 0 / 0.7494 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002842/0.3848, allocations: 39.88 kB / 0.7494 GB, free: 10.62 MB / 0.5919 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.0001734/0.385, allocations: 130.1 kB / 0.7496 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.3854, allocations: 0.5149 MB / 0.7501 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3854, allocations: 2.031 kB / 0.7501 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.3856, allocations: 242.4 kB / 0.7503 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.3859, allocations: 27.03 kB / 0.7503 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.3864, allocations: 343.7 kB / 0.7506 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.3865, allocations: 101.5 kB / 0.7507 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.31e-05/0.3866, allocations: 24.25 kB / 0.7508 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.3866, allocations: 14.94 kB / 0.7508 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.3866, allocations: 1.688 kB / 0.7508 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of Templates: time 0.005166/0.3917, allocations: 2.19 MB / 0.7529 GB, free: 9.137 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.377670201007277] Failed to read output from testmodel.py, exit status != 0: 0.3986695089843124 0.40871978800000003 0.02855086 Calling exit ...