Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001279/0.001279, allocations: 118.9 kB / 17.8 MB, free: 5.121 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.001291/0.001291, allocations: 187.8 kB / 20.75 MB, free: 2.184 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.417/1.417, allocations: 225.6 MB / 249.1 MB, free: 3.652 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8284/0.8284, allocations: 128.4 MB / 432.4 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.86 kB / 0.5987 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3834, allocations: 83.26 MB / 0.68 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002444/0.3858, allocations: 1.609 MB / 0.6816 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007722/0.3866, allocations: 0.6279 MB / 0.6822 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.3867, allocations: 3.125 kB / 0.6822 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.3868, allocations: 21.05 kB / 0.6822 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.387, allocations: 42.39 kB / 0.6823 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.3874, allocations: 107.8 kB / 0.6824 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.3876, allocations: 189.4 kB / 0.6826 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.3877, allocations: 29.42 kB / 0.6826 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.3878, allocations: 84.53 kB / 0.6827 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3879, allocations: 88.27 kB / 0.6827 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.388, allocations: 14.59 kB / 0.6828 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.958e-05/0.388, allocations: 19.94 kB / 0.6828 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.191e-05/0.3881, allocations: 27.55 kB / 0.6828 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.3882, allocations: 76.55 kB / 0.6829 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.3884, allocations: 166.1 kB / 0.683 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3884, allocations: 0 / 0.683 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3884, allocations: 4 kB / 0.683 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3884, allocations: 1.125 kB / 0.683 GB, free: 4.773 MB / 0.4981 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.0005499/0.389, allocations: 0.5619 MB / 0.6836 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.389, allocations: 8.594 kB / 0.6836 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.389, allocations: 20.34 kB / 0.6836 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.3893, allocations: 231.1 kB / 0.6838 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.3893, allocations: 7.062 kB / 0.6838 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.3893, allocations: 15.78 kB / 0.6839 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.3896, allocations: 120.3 kB / 0.684 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3896, allocations: 0 / 0.684 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3896, allocations: 2.719 kB / 0.684 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3896, allocations: 9.188 kB / 0.684 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.3898, allocations: 70.31 kB / 0.6841 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.3904, allocations: 420.7 kB / 0.6845 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3905, allocations: 81.09 kB / 0.6845 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.3907, allocations: 67.06 kB / 0.6846 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.3907, allocations: 2.062 kB / 0.6846 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.3909, allocations: 190 kB / 0.6848 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.3909, allocations: 0 / 0.6848 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0006871/0.3916, allocations: 358.5 kB / 0.6851 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3917, allocations: 163.5 kB / 0.6853 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3918, allocations: 176.9 kB / 0.6854 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3918, allocations: 29.14 kB / 0.6855 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.3918, allocations: 116 kB / 0.6856 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.3919, allocations: 36.58 kB / 0.6856 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.3919, allocations: 39.36 kB / 0.6857 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.708e-05/0.392, allocations: 329.6 kB / 0.686 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.3921, allocations: 53.22 kB / 0.686 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.3922, allocations: 101.6 kB / 0.6861 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.3925, allocations: 313.3 kB / 0.6864 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3925, allocations: 0 / 0.6864 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004541/0.393, allocations: 349 kB / 0.6867 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.972e-05/0.393, allocations: 122.7 kB / 0.6869 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.393, allocations: 2.438 kB / 0.6869 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.393, allocations: 2.625 kB / 0.6869 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3931, allocations: 25.48 kB / 0.6869 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3931, allocations: 1.5 kB / 0.6869 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.925e-05/0.3932, allocations: 16.66 kB / 0.6869 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.3933, allocations: 8.312 kB / 0.6869 GB, free: 1.281 MB / 0.4981 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.0001073/0.3934, allocations: 203.8 kB / 0.6871 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.3934, allocations: 22.28 kB / 0.6871 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.3934, allocations: 16.48 kB / 0.6872 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3934, allocations: 1.438 kB / 0.6872 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3934, allocations: 0 / 0.6872 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3935, allocations: 5.469 kB / 0.6872 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/0.394, allocations: 0.5846 MB / 0.6877 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3941, allocations: 3.984 kB / 0.6877 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.3941, allocations: 9.562 kB / 0.6877 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3941, allocations: 4 kB / 0.6877 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3941, allocations: 9.297 kB / 0.6878 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3941, allocations: 0 / 0.6878 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3941, allocations: 5.156 kB / 0.6878 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/0.3946, allocations: 410.7 kB / 0.6882 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.3946, allocations: 88.45 kB / 0.6882 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.3947, allocations: 8.75 kB / 0.6882 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.3948, allocations: 13.8 kB / 0.6883 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.3948, allocations: 6.406 kB / 0.6883 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3949, allocations: 14.73 kB / 0.6883 GB, free: 120 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.774e-05/0.3949, allocations: 122.8 kB / 0.6884 GB, free: 24 kB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.3949, allocations: 0 / 0.6884 GB, free: 24 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002935/0.3952, allocations: 37.94 kB / 0.6884 GB, free: 16 kB / 0.4981 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.0002594/0.3955, allocations: 133.4 kB / 0.6886 GB, free: 15.91 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.396, allocations: 363.4 kB / 0.6889 GB, free: 15.59 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.396, allocations: 0 / 0.6889 GB, free: 15.59 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.3963, allocations: 180.9 kB / 0.6891 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.3966, allocations: 25.27 kB / 0.6891 GB, free: 15.42 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.3972, allocations: 317.3 kB / 0.6894 GB, free: 15.18 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.3976, allocations: 0.7086 MB / 0.6901 GB, free: 14.47 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.3976, allocations: 13.69 kB / 0.6901 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of SimCode: time 4.01e-07/0.3976, allocations: 0 / 0.6901 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of Templates: time 0.004408/0.402, allocations: 2.178 MB / 0.6922 GB, free: 13.32 MB / 0.5138 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.122828918043524] Failed to read output from testmodel.py, exit status != 0: 0.4096531479153782 0.422150318 0.030951676 Calling exit ...