Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001714/0.001714, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.002087/0.002087, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.569/1.569, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.923/0.923, allocations: 133.9 MB / 443.5 MB, free: 13.95 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVWriter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVWriter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002052/0.002052, allocations: 64.84 kB / 0.6141 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2054, allocations: 85.85 MB / 0.6979 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.004066/0.2094, allocations: 1.633 MB / 0.6995 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.2108, allocations: 0.6902 MB / 0.7002 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.211, allocations: 5.312 kB / 0.7002 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.2111, allocations: 18.61 kB / 0.7002 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.2114, allocations: 42.7 kB / 0.7003 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.2121, allocations: 122 kB / 0.7004 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.2124, allocations: 184.6 kB / 0.7006 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.2125, allocations: 23.08 kB / 0.7006 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.2128, allocations: 92.98 kB / 0.7007 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.2129, allocations: 88.53 kB / 0.7008 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.213, allocations: 13.75 kB / 0.7008 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2131, allocations: 31.38 kB / 0.7008 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.629e-05/0.2132, allocations: 34.89 kB / 0.7008 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.2133, allocations: 76.34 kB / 0.7009 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.2136, allocations: 175 kB / 0.7011 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2136, allocations: 0 / 0.7011 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2136, allocations: 4 kB / 0.7011 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.2136, allocations: 1.375 kB / 0.7011 GB, free: 11.25 MB / 0.5137 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.0008624/0.2145, allocations: 0.5579 MB / 0.7016 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.2145, allocations: 11.3 kB / 0.7016 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.817e-05/0.2145, allocations: 1.562 kB / 0.7016 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.2146, allocations: 38.75 kB / 0.7017 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.2148, allocations: 30.11 kB / 0.7017 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.2152, allocations: 244.6 kB / 0.7019 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2152, allocations: 11.38 kB / 0.7019 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.2153, allocations: 14.16 kB / 0.702 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.2156, allocations: 116.2 kB / 0.7021 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2156, allocations: 0 / 0.7021 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.2156, allocations: 2.688 kB / 0.7021 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2156, allocations: 1.219 kB / 0.7021 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.2158, allocations: 70.83 kB / 0.7021 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007733/0.2166, allocations: 424.8 kB / 0.7025 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.2168, allocations: 77.5 kB / 0.7026 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.217, allocations: 74.95 kB / 0.7027 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.217, allocations: 5.375 kB / 0.7027 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.2173, allocations: 174.2 kB / 0.7029 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.2173, allocations: 0 / 0.7029 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0008595/0.2182, allocations: 359.7 kB / 0.7032 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.2183, allocations: 170.2 kB / 0.7034 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.2185, allocations: 175.5 kB / 0.7035 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.2186, allocations: 33.64 kB / 0.7036 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.2186, allocations: 112.3 kB / 0.7037 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.2187, allocations: 23.8 kB / 0.7037 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.174e-05/0.2188, allocations: 41.7 kB / 0.7037 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2189, allocations: 330.8 kB / 0.704 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2191, allocations: 51.95 kB / 0.7041 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.2193, allocations: 102.8 kB / 0.7042 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.2197, allocations: 312.9 kB / 0.7045 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2197, allocations: 4 kB / 0.7045 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000622/0.2203, allocations: 360.1 kB / 0.7048 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.2204, allocations: 114.8 kB / 0.705 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.2204, allocations: 4 kB / 0.705 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.2204, allocations: 3.984 kB / 0.705 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.2205, allocations: 16 kB / 0.705 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.2206, allocations: 8.203 kB / 0.705 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.2207, allocations: 12.2 kB / 0.705 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.2207, allocations: 19.94 kB / 0.705 GB, free: 7.258 MB / 0.5137 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.0002156/0.2209, allocations: 201 kB / 0.7052 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.2209, allocations: 23.89 kB / 0.7052 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.221, allocations: 17.41 kB / 0.7052 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.221, allocations: 0 / 0.7052 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.221, allocations: 0 / 0.7052 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.221, allocations: 0 / 0.7052 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008476/0.2219, allocations: 0.5915 MB / 0.7058 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2219, allocations: 0 / 0.7058 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.2219, allocations: 15.92 kB / 0.7058 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2219, allocations: 0 / 0.7058 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.2219, allocations: 4 kB / 0.7058 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.222, allocations: 3.938 kB / 0.7058 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.222, allocations: 0 / 0.7058 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006324/0.2226, allocations: 418.7 kB / 0.7062 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.2227, allocations: 85.02 kB / 0.7063 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.2227, allocations: 8 kB / 0.7063 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2228, allocations: 7.938 kB / 0.7063 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.2229, allocations: 19.91 kB / 0.7064 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.2229, allocations: 4 kB / 0.7064 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000138/0.223, allocations: 137.1 kB / 0.7065 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.223, allocations: 0 / 0.7065 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003135/0.2233, allocations: 35.94 kB / 0.7065 GB, free: 5.566 MB / 0.5137 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.001253/0.2246, allocations: 0.9657 MB / 0.7075 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005997/0.2252, allocations: 353.5 kB / 0.7078 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2252, allocations: 0 / 0.7078 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.2255, allocations: 182.7 kB / 0.708 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.2258, allocations: 35.48 kB / 0.708 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.2291, allocations: 2.129 MB / 0.7101 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.2295, allocations: 0.7119 MB / 0.7108 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.773e-05/0.2296, allocations: 28.45 kB / 0.7108 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.433e-05/0.2297, allocations: 31.42 kB / 0.7108 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of SimCode: time 8.11e-07/0.2297, allocations: 3.938 kB / 0.7109 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.2527, allocations: 3.71 MB / 0.7145 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.42, allocations: 3.375 kB / 0.7145 GB, free: 13.28 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVWriter_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVWriter.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.495688845985569] Failed to read output from testmodel.py, exit status != 0: 8.925777185999323 8.55971826 8.34293308 Calling exit ...