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.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.001348/0.001348, allocations: 104.2 kB / 16.45 MB, free: 6.035 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.001397/0.001397, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.8214/0.8214, allocations: 134 MB / 436.7 MB, free: 1.258 MB / 334.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.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: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 64.8 kB / 0.6051 GB, free: 15.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1573, allocations: 84.67 MB / 0.6878 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003048/0.1603, allocations: 1.615 MB / 0.6894 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.1613, allocations: 0.6233 MB / 0.69 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.1614, allocations: 4 kB / 0.69 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1615, allocations: 15.8 kB / 0.69 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1617, allocations: 53.53 kB / 0.69 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.1621, allocations: 111.8 kB / 0.6901 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.1624, allocations: 187.5 kB / 0.6903 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1625, allocations: 17.12 kB / 0.6903 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.1626, allocations: 91.73 kB / 0.6904 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1628, allocations: 83.72 kB / 0.6905 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.1628, allocations: 12 kB / 0.6905 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.1629, allocations: 32 kB / 0.6906 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.163, allocations: 19.92 kB / 0.6906 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1631, allocations: 83.64 kB / 0.6907 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.1634, allocations: 167.6 kB / 0.6908 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1634, allocations: 0 / 0.6908 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1634, allocations: 0 / 0.6908 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.1634, allocations: 4 kB / 0.6908 GB, free: 8.109 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.0008684/0.1642, allocations: 0.562 MB / 0.6914 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1643, allocations: 8.031 kB / 0.6914 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.1644, allocations: 42.69 kB / 0.6914 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.1644, allocations: 24.83 kB / 0.6914 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.1648, allocations: 228.4 kB / 0.6917 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.1648, allocations: 12.38 kB / 0.6917 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.1648, allocations: 8.375 kB / 0.6917 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.1652, allocations: 129.4 kB / 0.6918 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1652, allocations: 0 / 0.6918 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.1652, allocations: 4 kB / 0.6918 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1652, allocations: 0 / 0.6918 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.1654, allocations: 71.95 kB / 0.6919 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007062/0.1661, allocations: 416.5 kB / 0.6923 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.1663, allocations: 74.53 kB / 0.6923 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.1664, allocations: 76.8 kB / 0.6924 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1664, allocations: 0 / 0.6924 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.1667, allocations: 178.9 kB / 0.6926 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1667, allocations: 0 / 0.6926 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0007213/0.1674, allocations: 356.8 kB / 0.6929 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1675, allocations: 170.2 kB / 0.6931 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1677, allocations: 183.9 kB / 0.6933 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1678, allocations: 29.7 kB / 0.6933 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.1679, allocations: 112.3 kB / 0.6934 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.1679, allocations: 19.86 kB / 0.6934 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.168, allocations: 45.69 kB / 0.6935 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1681, allocations: 330.8 kB / 0.6938 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1682, allocations: 51.95 kB / 0.6938 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1684, allocations: 98.84 kB / 0.6939 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.1687, allocations: 316.9 kB / 0.6942 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1687, allocations: 0 / 0.6942 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005375/0.1693, allocations: 352.2 kB / 0.6946 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.995e-05/0.1694, allocations: 114.8 kB / 0.6947 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1694, allocations: 8 kB / 0.6947 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1694, allocations: 0 / 0.6947 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.1695, allocations: 27.92 kB / 0.6947 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1695, allocations: 288 / 0.6947 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-05/0.1696, allocations: 16.14 kB / 0.6947 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.1696, allocations: 12 kB / 0.6947 GB, free: 3.656 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.0001771/0.1698, allocations: 210.1 kB / 0.6949 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1698, allocations: 19.91 kB / 0.6949 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.1699, allocations: 9.406 kB / 0.695 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1699, allocations: 4 kB / 0.695 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1699, allocations: 0 / 0.695 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1699, allocations: 0 / 0.695 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007587/0.1707, allocations: 0.5914 MB / 0.6955 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1707, allocations: 4 kB / 0.6955 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.1707, allocations: 15.98 kB / 0.6956 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1707, allocations: 0 / 0.6956 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.1707, allocations: 7.938 kB / 0.6956 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1707, allocations: 0 / 0.6956 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1707, allocations: 3.938 kB / 0.6956 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.1713, allocations: 418.7 kB / 0.696 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.1714, allocations: 89.02 kB / 0.6961 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.1714, allocations: 8 kB / 0.6961 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1715, allocations: 8 kB / 0.6961 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1716, allocations: 11.92 kB / 0.6961 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1716, allocations: 8 kB / 0.6961 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000112/0.1717, allocations: 135.2 kB / 0.6962 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1717, allocations: 0 / 0.6962 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002906/0.172, allocations: 36 kB / 0.6962 GB, free: 1.953 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.001036/0.173, allocations: 0.9659 MB / 0.6972 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004993/0.1735, allocations: 357.7 kB / 0.6975 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1735, allocations: 0 / 0.6975 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.1738, allocations: 182.7 kB / 0.6977 GB, free: 364 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.1741, allocations: 27.38 kB / 0.6977 GB, free: 340 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.1767, allocations: 2.119 MB / 0.6998 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.177, allocations: 0.7119 MB / 0.7005 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.354e-05/0.1771, allocations: 28.45 kB / 0.7005 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.1772, allocations: 31.42 kB / 0.7006 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1772, allocations: 0 / 0.7006 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.2039, allocations: 3.635 MB / 0.7041 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.103, allocations: 9.266 kB / 0.7041 GB, free: 9.746 MB / 0.5294 GB " [Timeout remaining time 652] (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 sys.exit(0), Time elapsed: 11.582116607110947] Failed to read output from testmodel.py, exit status != 0: 8.172606078907847 8.194076519 8.026691605 Calling exit ...