Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 93.02 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 202.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.3 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2426/0.2426, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002768, allocations: 11.98 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 63.45 MB / 481.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4276/0.5587, allocations: 133.2 MB / 0.6003 GB, free: 188 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007434/0.5662, allocations: 2.387 MB / 0.6026 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009541/0.5672, allocations: 11.88 kB / 0.6026 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.5684, allocations: 183.1 kB / 0.6028 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003327/0.5717, allocations: 0.6111 MB / 0.6034 GB, free: 13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.5743, allocations: 0.5257 MB / 0.6039 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.576, allocations: 0.6664 MB / 0.6046 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008015/0.5768, allocations: 269.3 kB / 0.6048 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.5782, allocations: 378.8 kB / 0.6052 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007096/0.579, allocations: 263 kB / 0.6054 GB, free: 10.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.5791, allocations: 24 kB / 0.6054 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.5808, allocations: 391.5 kB / 0.6058 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.5811, allocations: 123.6 kB / 0.6059 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.5814, allocations: 117.5 kB / 0.606 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.5827, allocations: 0.6424 MB / 0.6067 GB, free: 9.633 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5827, allocations: 4 kB / 0.6067 GB, free: 9.629 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5827, allocations: 0 / 0.6067 GB, free: 9.629 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.5828, allocations: 0 / 0.6067 GB, free: 9.629 MB / 446.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.001917/0.5847, allocations: 0.8095 MB / 0.6075 GB, free: 8.766 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.5847, allocations: 11.97 kB / 0.6075 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.5849, allocations: 86.5 kB / 0.6076 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004405/0.5854, allocations: 75.33 kB / 0.6076 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007555/0.5861, allocations: 378.6 kB / 0.608 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.233e-05/0.5862, allocations: 62.69 kB / 0.6081 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.033e-05/0.5863, allocations: 36 kB / 0.6081 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.5874, allocations: 0.5283 MB / 0.6086 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.5874, allocations: 3.938 kB / 0.6086 GB, free: 7.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.5875, allocations: 16 kB / 0.6086 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.5875, allocations: 20.66 kB / 0.6086 GB, free: 7.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.5885, allocations: 422.2 kB / 0.609 GB, free: 7.047 MB / 446.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.003643/0.5922, allocations: 2.49 MB / 0.6115 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008656/0.5931, allocations: 369.5 kB / 0.6118 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.5931, allocations: 4.281 kB / 0.6118 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005878/0.5937, allocations: 277.3 kB / 0.6121 GB, free: 3.719 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.374e-06/0.5937, allocations: 0 / 0.6121 GB, free: 3.719 MB / 446.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.01313/0.6069, allocations: 3.609 MB / 0.6156 GB, free: 15.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.607, allocations: 166.2 kB / 0.6158 GB, free: 15.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.6076, allocations: 381.5 kB / 0.6161 GB, free: 15.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.543e-05/0.6077, allocations: 37.7 kB / 0.6162 GB, free: 15.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.6079, allocations: 252 kB / 0.6164 GB, free: 15.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.6081, allocations: 165.7 kB / 0.6166 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.6081, allocations: 12 kB / 0.6166 GB, free: 14.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.6083, allocations: 354.8 kB / 0.6169 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.609, allocations: 241.1 kB / 0.6172 GB, free: 14.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007675/0.6097, allocations: 433 kB / 0.6176 GB, free: 13.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.6105, allocations: 318.3 kB / 0.6179 GB, free: 13.51 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.6105, allocations: 4 kB / 0.6179 GB, free: 13.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001921/0.6124, allocations: 0.8138 MB / 0.6187 GB, free: 12.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.058e-05/0.6125, allocations: 34.36 kB / 0.6187 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.6125, allocations: 4 kB / 0.6187 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000475/0.613, allocations: 124.8 kB / 0.6188 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.6136, allocations: 151.7 kB / 0.619 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006183/0.6142, allocations: 0.6733 MB / 0.6196 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/0.6148, allocations: 76 kB / 0.6197 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/0.6149, allocations: 43.98 kB / 0.6197 GB, free: 11.54 MB / 462.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.0003231/0.6152, allocations: 196.8 kB / 0.6199 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.6154, allocations: 51.39 kB / 0.62 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.6175, allocations: 0.7799 MB / 0.6207 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.6176, allocations: 8 kB / 0.6208 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.6176, allocations: 7.953 kB / 0.6208 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.6176, allocations: 3.984 kB / 0.6208 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.6205, allocations: 1.316 MB / 0.6221 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6205, allocations: 3.938 kB / 0.6221 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.621, allocations: 124 kB / 0.6222 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006073/0.6216, allocations: 104.8 kB / 0.6223 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.6217, allocations: 23.94 kB / 0.6223 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.6238, allocations: 1.718 MB / 0.624 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6238, allocations: 0 / 0.624 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/0.6265, allocations: 1.103 MB / 0.6251 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.6269, allocations: 160.5 kB / 0.6252 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.6271, allocations: 12 kB / 0.6252 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/0.6276, allocations: 67.88 kB / 0.6253 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.6278, allocations: 63.86 kB / 0.6253 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.315e-05/0.6279, allocations: 35.98 kB / 0.6254 GB, free: 5.461 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003663/0.6283, allocations: 267.2 kB / 0.6256 GB, free: 5.207 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6283, allocations: 0 / 0.6256 GB, free: 5.207 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009792/0.6293, allocations: 240 kB / 0.6259 GB, free: 4.973 MB / 462.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.003883/0.6332, allocations: 2.188 MB / 0.628 GB, free: 2.723 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.6349, allocations: 0.6498 MB / 0.6286 GB, free: 2.059 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6349, allocations: 4 kB / 0.6286 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009232/0.6358, allocations: 431.2 kB / 0.629 GB, free: 1.621 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.637, allocations: 188.8 kB / 0.6292 GB, free: 1.434 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008548/0.6455, allocations: 6.595 MB / 0.6357 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.6461, allocations: 0.8748 MB / 0.6365 GB, free: 9.781 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008047/0.647, allocations: 152.5 kB / 0.6367 GB, free: 9.629 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.6474, allocations: 195.4 kB / 0.6369 GB, free: 9.438 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6474, allocations: 0 / 0.6369 GB, free: 9.438 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04828/0.6957, allocations: 16.98 MB / 0.6534 GB, free: 8.703 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003055/0.696, allocations: 265.4 kB / 0.6537 GB, free: 8.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.94, allocations: 0 / 0.6537 GB, free: 8.348 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat does not exist to compare? outputFormat=mat