Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009666/0.0009666, allocations: 176.2 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4489/0.4489, allocations: 89.08 MB / 105.9 MB, free: 12.46 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 225.7 MB / 353.2 MB, free: 1.098 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007146/0.0007146, allocations: 91.11 kB / 425.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.0002811, allocations: 8 kB / 0.4955 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2753, allocations: 71.33 MB / 0.5652 GB, free: 42.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.001509/0.2769, allocations: 1.3 MB / 0.5665 GB, free: 41.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008042/0.2777, allocations: 0.9049 MB / 0.5673 GB, free: 40.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.2778, allocations: 5.188 kB / 0.5674 GB, free: 40.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.2779, allocations: 11.94 kB / 0.5674 GB, free: 40.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.2781, allocations: 35.77 kB / 0.5674 GB, free: 39.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.2785, allocations: 109.3 kB / 0.5675 GB, free: 39.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.2786, allocations: 163.6 kB / 0.5677 GB, free: 39.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2787, allocations: 27.47 kB / 0.5677 GB, free: 39.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.2788, allocations: 79.69 kB / 0.5678 GB, free: 39.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.2789, allocations: 76.58 kB / 0.5678 GB, free: 39.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.279, allocations: 4 kB / 0.5678 GB, free: 39.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.638e-05/0.279, allocations: 21.3 kB / 0.5679 GB, free: 39.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.2791, allocations: 19.92 kB / 0.5679 GB, free: 39.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.2792, allocations: 97.34 kB / 0.568 GB, free: 39.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.2794, allocations: 153.7 kB / 0.5681 GB, free: 39.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2794, allocations: 2.25 kB / 0.5681 GB, free: 39.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2794, allocations: 3.938 kB / 0.5681 GB, free: 39.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.2794, allocations: 0 / 0.5681 GB, free: 39.24 MB / 410.7 MB 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.0004546/0.2799, allocations: 0.5224 MB / 0.5686 GB, free: 38.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2799, allocations: 12.03 kB / 0.5686 GB, free: 38.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.28, allocations: 20.84 kB / 0.5687 GB, free: 38.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.2802, allocations: 235.7 kB / 0.5689 GB, free: 38.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.2802, allocations: 8.375 kB / 0.5689 GB, free: 38.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.2802, allocations: 12.38 kB / 0.5689 GB, free: 38.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.2805, allocations: 117.7 kB / 0.569 GB, free: 38.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2805, allocations: 0 / 0.569 GB, free: 38.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2805, allocations: 4 kB / 0.569 GB, free: 38.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2805, allocations: 4 kB / 0.569 GB, free: 38.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.2807, allocations: 79.88 kB / 0.5691 GB, free: 38.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.2812, allocations: 424.6 kB / 0.5695 GB, free: 37.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.2813, allocations: 98.5 kB / 0.5696 GB, free: 37.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.2815, allocations: 80.81 kB / 0.5697 GB, free: 37.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.2815, allocations: 4 kB / 0.5697 GB, free: 37.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.2817, allocations: 182.8 kB / 0.5699 GB, free: 37.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.2817, allocations: 0 / 0.5699 GB, free: 37.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005666/0.2823, allocations: 361.1 kB / 0.5702 GB, free: 36.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.2823, allocations: 170.2 kB / 0.5704 GB, free: 36.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2825, allocations: 176.1 kB / 0.5705 GB, free: 36.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2825, allocations: 33.7 kB / 0.5706 GB, free: 36.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.2825, allocations: 108.4 kB / 0.5707 GB, free: 36.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.2826, allocations: 23.66 kB / 0.5707 GB, free: 36.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.2826, allocations: 8 kB / 0.5707 GB, free: 36.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.2826, allocations: 334.8 kB / 0.571 GB, free: 35.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.2827, allocations: 51.97 kB / 0.5711 GB, free: 35.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.2829, allocations: 110.8 kB / 0.5712 GB, free: 35.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.2831, allocations: 317 kB / 0.5715 GB, free: 35.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2831, allocations: 0 / 0.5715 GB, free: 35.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003999/0.2835, allocations: 356 kB / 0.5718 GB, free: 35.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.2836, allocations: 122.7 kB / 0.5719 GB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2836, allocations: 4 kB / 0.5719 GB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2836, allocations: 0 / 0.5719 GB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2837, allocations: 24.17 kB / 0.572 GB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2837, allocations: 8 kB / 0.572 GB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.294e-05/0.2838, allocations: 19.84 kB / 0.572 GB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.2839, allocations: 11.98 kB / 0.572 GB, free: 34.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * 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 9.928e-05/0.284, allocations: 197.2 kB / 0.5722 GB, free: 34.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.284, allocations: 15.91 kB / 0.5722 GB, free: 34.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.284, allocations: 9.406 kB / 0.5722 GB, free: 34.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2841, allocations: 4 kB / 0.5722 GB, free: 34.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2841, allocations: 4 kB / 0.5722 GB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2841, allocations: 7.969 kB / 0.5722 GB, free: 34.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.2846, allocations: 0.5875 MB / 0.5728 GB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2846, allocations: 3.938 kB / 0.5728 GB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.2847, allocations: 23.92 kB / 0.5728 GB, free: 33.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2847, allocations: 0 / 0.5728 GB, free: 33.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.2847, allocations: 8 kB / 0.5728 GB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2847, allocations: 4 kB / 0.5728 GB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2847, allocations: 7.922 kB / 0.5728 GB, free: 33.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.2851, allocations: 410.6 kB / 0.5732 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.2852, allocations: 92.92 kB / 0.5733 GB, free: 33.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.2852, allocations: 4 kB / 0.5733 GB, free: 33.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.2853, allocations: 15.98 kB / 0.5733 GB, free: 33.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.2854, allocations: 7.938 kB / 0.5734 GB, free: 33.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.2854, allocations: 11.98 kB / 0.5734 GB, free: 33.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.486e-05/0.2854, allocations: 122.2 kB / 0.5735 GB, free: 33.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2855, allocations: 4 kB / 0.5735 GB, free: 33.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.2857, allocations: 36 kB / 0.5735 GB, free: 33.15 MB / 410.7 MB 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.0001705/0.2859, allocations: 136.5 kB / 0.5736 GB, free: 33.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.2862, allocations: 377.4 kB / 0.574 GB, free: 32.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2863, allocations: 0 / 0.574 GB, free: 32.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.2864, allocations: 206.8 kB / 0.5742 GB, free: 32.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.2867, allocations: 19.98 kB / 0.5742 GB, free: 32.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.2872, allocations: 330.3 kB / 0.5745 GB, free: 32.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.2873, allocations: 0.716 MB / 0.5752 GB, free: 31.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.972e-05/0.2874, allocations: 20.53 kB / 0.5753 GB, free: 31.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.2874, allocations: 11.44 kB / 0.5753 GB, free: 31.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2874, allocations: 0 / 0.5753 GB, free: 31.23 MB / 410.7 MB Notification: Performance of Templates: time 0.003984/0.2914, allocations: 1.99 MB / 0.5772 GB, free: 29.27 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile (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)