Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008238/0.0008239, allocations: 96.78 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009063/0.0009063, allocations: 176.2 kB / 16.58 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.4 MB / 222.7 MB, free: 5.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3184/0.3184, allocations: 43.56 MB / 314.6 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006197/0.0006198, allocations: 18.97 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1044, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3199/0.4243, allocations: 148.6 MB / 0.5776 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005986/0.4303, allocations: 3.891 MB / 0.5814 GB, free: 3.223 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000587/0.431, allocations: 15.81 kB / 0.5814 GB, free: 3.207 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006267/0.4316, allocations: 170.9 kB / 0.5816 GB, free: 3.039 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002255/0.4339, allocations: 0.7167 MB / 0.5823 GB, free: 2.324 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.4354, allocations: 0.5296 MB / 0.5828 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.4368, allocations: 1.334 MB / 0.5841 GB, free: 476 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000457/0.4373, allocations: 280.6 kB / 0.5843 GB, free: 196 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007885/0.4381, allocations: 406.5 kB / 0.5847 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.4387, allocations: 366.5 kB / 0.5851 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.246e-05/0.4388, allocations: 24 kB / 0.5851 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009726/0.4397, allocations: 431.3 kB / 0.5855 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.4399, allocations: 135.6 kB / 0.5856 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.4401, allocations: 117.5 kB / 0.5858 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007739/0.4408, allocations: 0.6532 MB / 0.5864 GB, free: 14.08 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4409, allocations: 0 / 0.5864 GB, free: 14.08 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4409, allocations: 0 / 0.5864 GB, free: 14.08 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.4409, allocations: 0 / 0.5864 GB, free: 14.08 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001437/0.4423, allocations: 0.8242 MB / 0.5872 GB, free: 13.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.4424, allocations: 16.02 kB / 0.5872 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.4425, allocations: 78.53 kB / 0.5873 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.4428, allocations: 67.42 kB / 0.5874 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.4433, allocations: 384.4 kB / 0.5877 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.4434, allocations: 59.5 kB / 0.5878 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.615e-05/0.4435, allocations: 39.91 kB / 0.5878 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008591/0.4444, allocations: 0.5322 MB / 0.5883 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4444, allocations: 0 / 0.5883 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.4444, allocations: 20.5 kB / 0.5884 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/0.4445, allocations: 20.61 kB / 0.5884 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008371/0.4453, allocations: 422.2 kB / 0.5888 GB, free: 11.49 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.4481, allocations: 2.522 MB / 0.5912 GB, free: 8.789 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/0.4488, allocations: 359.4 kB / 0.5916 GB, free: 8.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.4492, allocations: 174.4 kB / 0.5917 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.4492, allocations: 8.266 kB / 0.5918 GB, free: 8.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004917/0.4497, allocations: 276.2 kB / 0.592 GB, free: 7.957 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.774e-06/0.4497, allocations: 0 / 0.592 GB, free: 7.957 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.0106/0.4603, allocations: 3.6 MB / 0.5955 GB, free: 4.234 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.4604, allocations: 166.2 kB / 0.5957 GB, free: 4.035 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.4609, allocations: 377.6 kB / 0.5961 GB, free: 3.656 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.4609, allocations: 33.7 kB / 0.5961 GB, free: 3.617 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.4611, allocations: 263.9 kB / 0.5963 GB, free: 3.355 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.4612, allocations: 165.6 kB / 0.5965 GB, free: 3.191 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.4613, allocations: 16 kB / 0.5965 GB, free: 3.176 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4614, allocations: 354.8 kB / 0.5968 GB, free: 2.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006259/0.462, allocations: 241.1 kB / 0.5971 GB, free: 2.586 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006604/0.4627, allocations: 429.1 kB / 0.5975 GB, free: 2.086 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.4633, allocations: 318.3 kB / 0.5978 GB, free: 1.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4633, allocations: 0 / 0.5978 GB, free: 1.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001692/0.465, allocations: 0.8254 MB / 0.5986 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.4651, allocations: 34.36 kB / 0.5986 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4651, allocations: 5.953 kB / 0.5986 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/0.4655, allocations: 120.8 kB / 0.5987 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.4661, allocations: 143.8 kB / 0.5989 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000539/0.4666, allocations: 0.6695 MB / 0.5995 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.4671, allocations: 71.94 kB / 0.5996 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.4672, allocations: 47.98 kB / 0.5997 GB, free: 15.81 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.4675, allocations: 201.5 kB / 0.5998 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.4676, allocations: 47.44 kB / 0.5999 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.4695, allocations: 0.7915 MB / 0.6007 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.4695, allocations: 4 kB / 0.6007 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4696, allocations: 0 / 0.6007 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4696, allocations: 7.984 kB / 0.6007 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.472, allocations: 1.327 MB / 0.602 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.472, allocations: 0 / 0.602 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.4725, allocations: 115.9 kB / 0.6021 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005517/0.473, allocations: 104.9 kB / 0.6022 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/0.4731, allocations: 23.98 kB / 0.6022 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.4748, allocations: 1.69 MB / 0.6039 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4748, allocations: 4.031 kB / 0.6039 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.477, allocations: 1.036 MB / 0.6049 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.4773, allocations: 168.6 kB / 0.605 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.4774, allocations: 19.94 kB / 0.6051 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.4779, allocations: 67.84 kB / 0.6051 GB, free: 9.938 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.4781, allocations: 59.91 kB / 0.6052 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/0.4781, allocations: 32 kB / 0.6052 GB, free: 9.848 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003026/0.4784, allocations: 267.1 kB / 0.6055 GB, free: 9.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4784, allocations: 0 / 0.6055 GB, free: 9.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008297/0.4793, allocations: 239.9 kB / 0.6057 GB, free: 9.355 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003179/0.4825, allocations: 1.796 MB / 0.6074 GB, free: 7.527 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.484, allocations: 0.6529 MB / 0.6081 GB, free: 6.863 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.484, allocations: 0 / 0.6081 GB, free: 6.863 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008566/0.4849, allocations: 441.9 kB / 0.6085 GB, free: 6.422 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.486, allocations: 202.5 kB / 0.6087 GB, free: 6.227 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.4919, allocations: 3.447 MB / 0.6121 GB, free: 2.656 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.4923, allocations: 0.8553 MB / 0.6129 GB, free: 1.773 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006931/0.493, allocations: 153.1 kB / 0.613 GB, free: 1.625 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/0.4934, allocations: 191.4 kB / 0.6132 GB, free: 1.438 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4934, allocations: 0 / 0.6132 GB, free: 1.438 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.5266, allocations: 17.32 MB / 0.6301 GB, free: 192 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1886/0.7153, allocations: 277.1 kB / 0.6304 GB, free: 159.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/2.829, allocations: 0 / 0.6304 GB, free: 159.8 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat