Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008511/0.0008511, allocations: 92.78 kB / 16.99 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.001662/0.001662, allocations: 203.8 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 45.92 MB / 344 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 4 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 63.47 MB / 481.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5254/0.6738, allocations: 145.8 MB / 0.6126 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009464/0.6834, allocations: 5.641 MB / 0.6182 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009775/0.6844, allocations: 19.88 kB / 0.6182 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.6855, allocations: 274.6 kB / 0.6184 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004578/0.69, allocations: 1.344 MB / 0.6198 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.6925, allocations: 0.7908 MB / 0.6205 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.6948, allocations: 1.019 MB / 0.6215 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007362/0.6956, allocations: 372.4 kB / 0.6219 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.6972, allocations: 0.6779 MB / 0.6225 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00055/0.6978, allocations: 386.6 kB / 0.6229 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.6979, allocations: 28 kB / 0.6229 GB, free: 8.922 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.7006, allocations: 1.108 MB / 0.624 GB, free: 7.812 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.7008, allocations: 139.5 kB / 0.6241 GB, free: 7.676 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.701, allocations: 157.4 kB / 0.6243 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.7028, allocations: 1.085 MB / 0.6254 GB, free: 6.434 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7028, allocations: 4 kB / 0.6254 GB, free: 6.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.7028, allocations: 0 / 0.6254 GB, free: 6.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.7028, allocations: 3.938 kB / 0.6254 GB, free: 6.426 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001943/0.7048, allocations: 0.9319 MB / 0.6263 GB, free: 5.441 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.7048, allocations: 12.02 kB / 0.6263 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.705, allocations: 98.41 kB / 0.6264 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.7062, allocations: 163.1 kB / 0.6265 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.707, allocations: 472.7 kB / 0.627 GB, free: 4.664 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.707, allocations: 33 kB / 0.627 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.29e-05/0.7071, allocations: 40 kB / 0.6271 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.7082, allocations: 0.64 MB / 0.6277 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.7083, allocations: 0 / 0.6277 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.781e-05/0.7083, allocations: 24 kB / 0.6277 GB, free: 3.879 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.7084, allocations: 8 kB / 0.6277 GB, free: 3.871 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008604/0.7092, allocations: 0.4956 MB / 0.6282 GB, free: 3.375 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.003157/0.7124, allocations: 2.641 MB / 0.6308 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.7131, allocations: 330.5 kB / 0.6311 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000545/0.7136, allocations: 437.6 kB / 0.6315 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.7137, allocations: 38.56 kB / 0.6315 GB, free: 15.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.244e-06/0.7137, allocations: 0 / 0.6315 GB, free: 15.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=35): time 0.001594/0.7153, allocations: 0.7099 MB / 0.6322 GB, free: 14.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.658e-05/0.7154, allocations: 162.2 kB / 0.6324 GB, free: 14.71 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006354/0.716, allocations: 0.5106 MB / 0.6329 GB, free: 14.19 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.7161, allocations: 33.7 kB / 0.6329 GB, free: 14.15 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.7163, allocations: 311.5 kB / 0.6332 GB, free: 13.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.7165, allocations: 118.2 kB / 0.6333 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.7165, allocations: 8 kB / 0.6333 GB, free: 13.72 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.7167, allocations: 370.8 kB / 0.6337 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.7169, allocations: 137.1 kB / 0.6338 GB, free: 13.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.7173, allocations: 334.8 kB / 0.6341 GB, free: 12.81 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.7177, allocations: 187.8 kB / 0.6343 GB, free: 12.62 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7177, allocations: 0 / 0.6343 GB, free: 12.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009303/0.7186, allocations: 0.5729 MB / 0.6349 GB, free: 12.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.7186, allocations: 14.31 kB / 0.6349 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.7187, allocations: 4 kB / 0.6349 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/0.7202, allocations: 292.5 kB / 0.6352 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.7207, allocations: 119.8 kB / 0.6353 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005116/0.7212, allocations: 0.5914 MB / 0.6359 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.7216, allocations: 63.47 kB / 0.6359 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.7217, allocations: 55.97 kB / 0.636 GB, free: 10.89 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.000302/0.7221, allocations: 193.7 kB / 0.6362 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.7222, allocations: 68.11 kB / 0.6362 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.7242, allocations: 1.112 MB / 0.6373 GB, free: 9.488 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.7242, allocations: 4.875 kB / 0.6373 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.7242, allocations: 0 / 0.6373 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.7242, allocations: 3.984 kB / 0.6373 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.7257, allocations: 0.9937 MB / 0.6383 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.7257, allocations: 0 / 0.6383 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.7259, allocations: 59.91 kB / 0.6384 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003206/0.7291, allocations: 0.5316 MB / 0.6389 GB, free: 7.816 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.7292, allocations: 11.98 kB / 0.6389 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004532/0.7296, allocations: 0.603 MB / 0.6395 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7296, allocations: 0 / 0.6395 GB, free: 7.176 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.7304, allocations: 0.5693 MB / 0.64 GB, free: 6.531 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.7306, allocations: 156.2 kB / 0.6402 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.7307, allocations: 11.95 kB / 0.6402 GB, free: 6.348 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.7311, allocations: 27.98 kB / 0.6402 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.7311, allocations: 23.97 kB / 0.6402 GB, free: 6.297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.7312, allocations: 19.98 kB / 0.6403 GB, free: 6.277 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005193/0.7317, allocations: 414.8 kB / 0.6407 GB, free: 5.875 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7317, allocations: 0 / 0.6407 GB, free: 5.875 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001004/0.7327, allocations: 295.7 kB / 0.6409 GB, free: 5.586 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00209/0.7348, allocations: 1.818 MB / 0.6427 GB, free: 3.703 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008646/0.7357, allocations: 365.3 kB / 0.6431 GB, free: 3.348 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.7357, allocations: 0 / 0.6431 GB, free: 3.348 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.736, allocations: 172 kB / 0.6432 GB, free: 3.18 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.7376, allocations: 331.2 kB / 0.6435 GB, free: 2.867 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/0.7437, allocations: 6.258 MB / 0.6497 GB, free: 12.44 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.7442, allocations: 0.8831 MB / 0.6505 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001345/0.7455, allocations: 0.5634 MB / 0.6511 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.746, allocations: 242.8 kB / 0.6513 GB, free: 10.73 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.746, allocations: 0 / 0.6513 GB, free: 10.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/0.7894, allocations: 20.73 MB / 0.6715 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003135/0.7897, allocations: 265.1 kB / 0.6718 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/3.174, allocations: 0 / 0.6718 GB, free: 5.934 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat