Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001389/0.001389, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001427/0.001427, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9696/0.9696, allocations: 175.7 MB / 480.1 MB, free: 3.188 MB / 366.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-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: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 75.91 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.149, allocations: 94.52 MB / 0.7601 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002775/0.1517, allocations: 1.625 MB / 0.7617 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.1527, allocations: 0.6234 MB / 0.7623 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.1528, allocations: 7.938 kB / 0.7623 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.1529, allocations: 19.84 kB / 0.7623 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.1531, allocations: 43.77 kB / 0.7623 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.1535, allocations: 115.7 kB / 0.7624 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.1538, allocations: 183.5 kB / 0.7626 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.1539, allocations: 21.11 kB / 0.7626 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.154, allocations: 79.81 kB / 0.7627 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1542, allocations: 87.66 kB / 0.7628 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.1542, allocations: 12 kB / 0.7628 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-05/0.1543, allocations: 31.98 kB / 0.7628 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-05/0.1544, allocations: 31.84 kB / 0.7629 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.1545, allocations: 75.7 kB / 0.7629 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1547, allocations: 167.4 kB / 0.7631 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1547, allocations: 0 / 0.7631 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1547, allocations: 0 / 0.7631 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.1547, allocations: 0 / 0.7631 GB, free: 13.76 MB / 0.5762 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.0006917/0.1554, allocations: 0.56 MB / 0.7636 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1554, allocations: 12.03 kB / 0.7637 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.1555, allocations: 34.75 kB / 0.7637 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.1555, allocations: 20.84 kB / 0.7637 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.1558, allocations: 248.2 kB / 0.7639 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1559, allocations: 8.375 kB / 0.764 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.1559, allocations: 16.38 kB / 0.764 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.1561, allocations: 109.5 kB / 0.7641 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1561, allocations: 0 / 0.7641 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1562, allocations: 4 kB / 0.7641 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1562, allocations: 0 / 0.7641 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.1564, allocations: 75.89 kB / 0.7642 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006118/0.157, allocations: 416.6 kB / 0.7645 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1572, allocations: 82.56 kB / 0.7646 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.1573, allocations: 64.81 kB / 0.7647 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1573, allocations: 8 kB / 0.7647 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.1576, allocations: 170.7 kB / 0.7649 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.1576, allocations: 7.938 kB / 0.7649 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0007196/0.1583, allocations: 364.9 kB / 0.7652 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.1584, allocations: 162.2 kB / 0.7654 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1586, allocations: 183.4 kB / 0.7655 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1586, allocations: 29.7 kB / 0.7656 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.1587, allocations: 108.4 kB / 0.7657 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.1587, allocations: 31.75 kB / 0.7657 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.1588, allocations: 37.7 kB / 0.7657 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1589, allocations: 334.8 kB / 0.7661 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1591, allocations: 51.95 kB / 0.7661 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.1592, allocations: 114.8 kB / 0.7662 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.1596, allocations: 305 kB / 0.7665 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1596, allocations: 0 / 0.7665 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000531/0.1601, allocations: 356.2 kB / 0.7669 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/0.1602, allocations: 118.8 kB / 0.767 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1602, allocations: 0 / 0.767 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1602, allocations: 7.984 kB / 0.767 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1603, allocations: 23.92 kB / 0.767 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.1603, allocations: 7.984 kB / 0.767 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.1604, allocations: 11.95 kB / 0.767 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.1604, allocations: 16.25 kB / 0.767 GB, free: 9.281 MB / 0.5762 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.0001636/0.1606, allocations: 193.2 kB / 0.7672 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.1606, allocations: 19.89 kB / 0.7672 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.1607, allocations: 17.34 kB / 0.7672 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1607, allocations: 0 / 0.7672 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1607, allocations: 0 / 0.7672 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1607, allocations: 0 / 0.7672 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007537/0.1614, allocations: 0.6031 MB / 0.7678 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1614, allocations: 0 / 0.7678 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.1615, allocations: 11.98 kB / 0.7678 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1615, allocations: 0 / 0.7678 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1615, allocations: 4 kB / 0.7679 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1615, allocations: 4 kB / 0.7679 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1615, allocations: 4.219 kB / 0.7679 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.1621, allocations: 410.6 kB / 0.7683 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.1622, allocations: 93 kB / 0.7683 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.1622, allocations: 8 kB / 0.7683 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1623, allocations: 4 kB / 0.7684 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1623, allocations: 11.92 kB / 0.7684 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.1624, allocations: 15.98 kB / 0.7684 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001012/0.1625, allocations: 128.8 kB / 0.7685 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1625, allocations: 0 / 0.7685 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002815/0.1627, allocations: 36 kB / 0.7685 GB, free: 7.59 MB / 0.5762 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.0009518/0.1637, allocations: 0.9703 MB / 0.7695 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.1642, allocations: 353.4 kB / 0.7698 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1642, allocations: 0 / 0.7698 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.1644, allocations: 186.7 kB / 0.77 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1647, allocations: 29.48 kB / 0.77 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.1671, allocations: 2.109 MB / 0.7721 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1675, allocations: 0.7119 MB / 0.7728 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.195e-05/0.1675, allocations: 16.55 kB / 0.7728 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.1676, allocations: 39.42 kB / 0.7728 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.1676, allocations: 0 / 0.7728 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.1933, allocations: 3.656 MB / 0.7764 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.445, allocations: 6.609 kB / 0.7764 GB, free: 15.36 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVWriter_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVWriter.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.81818484699761]