Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 94.53 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 205.4 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.374/1.374, 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.2014/0.2014, allocations: 45.92 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 8 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 63.45 MB / 481.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4065/0.5287, allocations: 147.1 MB / 0.6139 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005828/0.5346, allocations: 3.837 MB / 0.6176 GB, free: 14.42 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/0.5351, allocations: 23.81 kB / 0.6176 GB, free: 14.4 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007549/0.5359, allocations: 254.7 kB / 0.6179 GB, free: 14.15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002916/0.5388, allocations: 1.08 MB / 0.6189 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.5405, allocations: 0.6159 MB / 0.6195 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00153/0.542, allocations: 0.9262 MB / 0.6204 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00056/0.5426, allocations: 344.9 kB / 0.6208 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008613/0.5435, allocations: 0.4985 MB / 0.6212 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.5439, allocations: 346.6 kB / 0.6216 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.544, allocations: 28 kB / 0.6216 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.5461, allocations: 1.03 MB / 0.6226 GB, free: 9.305 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.5463, allocations: 135.5 kB / 0.6227 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.5465, allocations: 145.4 kB / 0.6229 GB, free: 9.023 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.548, allocations: 1.007 MB / 0.6239 GB, free: 8.016 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.548, allocations: 0 / 0.6239 GB, free: 8.016 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.548, allocations: 0 / 0.6239 GB, free: 8.016 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.548, allocations: 0 / 0.6239 GB, free: 8.016 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001693/0.5497, allocations: 0.9116 MB / 0.6247 GB, free: 7.055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5498, allocations: 8.031 kB / 0.6248 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.5499, allocations: 79.41 kB / 0.6248 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000974/0.5509, allocations: 155 kB / 0.625 GB, free: 6.809 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.5516, allocations: 452.8 kB / 0.6254 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.5516, allocations: 29 kB / 0.6254 GB, free: 6.297 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.5517, allocations: 44 kB / 0.6255 GB, free: 6.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.5527, allocations: 0.5945 MB / 0.6261 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5527, allocations: 4 kB / 0.6261 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.5528, allocations: 19.94 kB / 0.6261 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.5528, allocations: 15.95 kB / 0.6261 GB, free: 5.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009197/0.5538, allocations: 493.2 kB / 0.6266 GB, free: 5.102 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.002934/0.5567, allocations: 2.667 MB / 0.6292 GB, free: 2.215 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007223/0.5574, allocations: 353 kB / 0.6295 GB, free: 1.867 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003906/0.5578, allocations: 441.8 kB / 0.6299 GB, free: 1.344 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.5579, allocations: 50.8 kB / 0.63 GB, free: 1.285 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.315e-06/0.5579, allocations: 0 / 0.63 GB, free: 1.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.00164/0.5596, allocations: 0.7355 MB / 0.6307 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.5596, allocations: 132.5 kB / 0.6308 GB, free: 372 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005569/0.5602, allocations: 494.1 kB / 0.6313 GB, free: 15.87 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.5603, allocations: 33.7 kB / 0.6313 GB, free: 15.83 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.5605, allocations: 275.8 kB / 0.6316 GB, free: 15.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5606, allocations: 134.2 kB / 0.6317 GB, free: 15.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.5606, allocations: 8 kB / 0.6317 GB, free: 15.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.5608, allocations: 358.8 kB / 0.6321 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.5611, allocations: 152.8 kB / 0.6322 GB, free: 14.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.5615, allocations: 287.6 kB / 0.6325 GB, free: 14.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.5619, allocations: 189 kB / 0.6327 GB, free: 14.38 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5619, allocations: 4 kB / 0.6327 GB, free: 14.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009882/0.5629, allocations: 0.5482 MB / 0.6332 GB, free: 13.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5629, allocations: 7.953 kB / 0.6332 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.5629, allocations: 4 kB / 0.6332 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.5645, allocations: 293 kB / 0.6335 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.5649, allocations: 111.8 kB / 0.6336 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004387/0.5654, allocations: 0.603 MB / 0.6342 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.5658, allocations: 67.56 kB / 0.6343 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/0.5659, allocations: 44 kB / 0.6343 GB, free: 12.67 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0002739/0.5662, allocations: 182.2 kB / 0.6345 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.5663, allocations: 63.33 kB / 0.6345 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.5683, allocations: 1.111 MB / 0.6356 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.5683, allocations: 3.984 kB / 0.6356 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5683, allocations: 4 kB / 0.6356 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5684, allocations: 0 / 0.6356 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.5699, allocations: 1.018 MB / 0.6366 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5699, allocations: 4 kB / 0.6366 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.5701, allocations: 51.91 kB / 0.6367 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003158/0.5733, allocations: 0.5355 MB / 0.6372 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.5733, allocations: 19.98 kB / 0.6372 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004363/0.5738, allocations: 0.6108 MB / 0.6378 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5738, allocations: 4.031 kB / 0.6378 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000843/0.5747, allocations: 0.576 MB / 0.6384 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/0.5749, allocations: 144.3 kB / 0.6385 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.871e-05/0.575, allocations: 15.95 kB / 0.6385 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.5753, allocations: 35.97 kB / 0.6386 GB, free: 8.078 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.5754, allocations: 19.97 kB / 0.6386 GB, free: 8.059 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.5755, allocations: 19.98 kB / 0.6386 GB, free: 8.039 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004503/0.5759, allocations: 390.8 kB / 0.639 GB, free: 7.66 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5759, allocations: 0 / 0.639 GB, free: 7.66 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008684/0.5768, allocations: 287.6 kB / 0.6393 GB, free: 7.379 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.00214/0.5789, allocations: 1.739 MB / 0.641 GB, free: 5.582 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008535/0.5798, allocations: 384.5 kB / 0.6413 GB, free: 5.207 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5798, allocations: 0 / 0.6413 GB, free: 5.207 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.5802, allocations: 180.5 kB / 0.6415 GB, free: 5.031 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.5816, allocations: 289.8 kB / 0.6418 GB, free: 4.754 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005729/0.5874, allocations: 5.214 MB / 0.6469 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.5878, allocations: 0.875 MB / 0.6477 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00119/0.589, allocations: 0.5566 MB / 0.6483 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/0.5894, allocations: 223.3 kB / 0.6485 GB, free: 13.73 MB / 494.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5894, allocations: 0 / 0.6485 GB, free: 13.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.6271, allocations: 19.12 MB / 0.6671 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.6274, allocations: 278.1 kB / 0.6674 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/3.029, allocations: 0 / 0.6674 GB, free: 10.55 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat