Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001026/0.001026, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 193.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246 MB, free: 10.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2362/0.2362, allocations: 45.92 MB / 344.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.0002681, allocations: 8 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 63.47 MB / 481.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5194/0.6504, allocations: 159.1 MB / 0.6257 GB, free: 7.211 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007668/0.6581, allocations: 5.094 MB / 0.6307 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.6592, allocations: 27.75 kB / 0.6307 GB, free: 2.078 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009382/0.6601, allocations: 254.4 kB / 0.6309 GB, free: 1.828 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003271/0.6634, allocations: 1.088 MB / 0.632 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.6656, allocations: 0.7467 MB / 0.6327 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002632/0.6683, allocations: 2.253 MB / 0.6349 GB, free: 13.74 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006076/0.6689, allocations: 378.7 kB / 0.6353 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.6709, allocations: 0.9131 MB / 0.6362 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009789/0.6719, allocations: 0.6579 MB / 0.6368 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.672, allocations: 32 kB / 0.6369 GB, free: 11.76 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.6733, allocations: 459.4 kB / 0.6373 GB, free: 11.31 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.6736, allocations: 239.2 kB / 0.6375 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.6738, allocations: 165.4 kB / 0.6377 GB, free: 10.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.6749, allocations: 0.9236 MB / 0.6386 GB, free: 9.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6749, allocations: 0 / 0.6386 GB, free: 9.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.6749, allocations: 4 kB / 0.6386 GB, free: 9.977 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.6749, allocations: 0 / 0.6386 GB, free: 9.977 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001866/0.6768, allocations: 0.9621 MB / 0.6395 GB, free: 8.961 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6768, allocations: 12.03 kB / 0.6395 GB, free: 8.949 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.677, allocations: 94.52 kB / 0.6396 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007259/0.6777, allocations: 135 kB / 0.6398 GB, free: 8.715 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/0.6785, allocations: 492.6 kB / 0.6402 GB, free: 8.195 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.6786, allocations: 108.3 kB / 0.6403 GB, free: 8.074 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.901e-05/0.6787, allocations: 52.67 kB / 0.6404 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.6799, allocations: 0.8174 MB / 0.6412 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.68, allocations: 4 kB / 0.6412 GB, free: 7.125 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.68, allocations: 24 kB / 0.6412 GB, free: 7.102 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-05/0.6801, allocations: 40.94 kB / 0.6412 GB, free: 7.062 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000992/0.6811, allocations: 0.6282 MB / 0.6419 GB, free: 6.434 MB / 478.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.004185/0.6853, allocations: 3.929 MB / 0.6457 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005591/0.6859, allocations: 355.6 kB / 0.646 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.6862, allocations: 177.2 kB / 0.6462 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.6863, allocations: 93.36 kB / 0.6463 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.6864, allocations: 42.78 kB / 0.6463 GB, free: 1.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 3.737e-06/0.6864, allocations: 3.984 kB / 0.6463 GB, free: 1.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005061/0.6914, allocations: 1.653 MB / 0.648 GB, free: 15.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.6915, allocations: 136.5 kB / 0.6481 GB, free: 15.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007487/0.6923, allocations: 0.6171 MB / 0.6487 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.6923, allocations: 33.7 kB / 0.6487 GB, free: 15.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.6926, allocations: 370.8 kB / 0.6491 GB, free: 14.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.6928, allocations: 134.1 kB / 0.6492 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.6928, allocations: 8 kB / 0.6492 GB, free: 14.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.693, allocations: 374.8 kB / 0.6496 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.6933, allocations: 205.9 kB / 0.6498 GB, free: 13.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.6939, allocations: 0.5125 MB / 0.6503 GB, free: 13.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.6943, allocations: 292.4 kB / 0.6505 GB, free: 12.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6944, allocations: 0 / 0.6505 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001359/0.6957, allocations: 0.8757 MB / 0.6514 GB, free: 12.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.6958, allocations: 8 kB / 0.6514 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.6958, allocations: 16.89 kB / 0.6514 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.6971, allocations: 321.1 kB / 0.6517 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.6974, allocations: 120.3 kB / 0.6518 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.6985, allocations: 0.9293 MB / 0.6528 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.699, allocations: 47.89 kB / 0.6528 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.559e-05/0.6991, allocations: 71.98 kB / 0.6529 GB, free: 10.56 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003232/0.6994, allocations: 242 kB / 0.6531 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.6995, allocations: 68.12 kB / 0.6532 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.7012, allocations: 0.8693 MB / 0.654 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.7013, allocations: 11.94 kB / 0.654 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.7013, allocations: 4 kB / 0.654 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.7013, allocations: 7.922 kB / 0.654 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.7033, allocations: 1.453 MB / 0.6555 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7033, allocations: 4 kB / 0.6555 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009732/0.7043, allocations: 207.8 kB / 0.6557 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.857e-05/0.7044, allocations: 24.84 kB / 0.6557 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.7045, allocations: 20.17 kB / 0.6557 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.7066, allocations: 2.692 MB / 0.6583 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7066, allocations: 7.969 kB / 0.6583 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.7078, allocations: 0.8166 MB / 0.6591 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.7082, allocations: 192.3 kB / 0.6593 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.7083, allocations: 12 kB / 0.6593 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.7087, allocations: 27.97 kB / 0.6594 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.7088, allocations: 35.92 kB / 0.6594 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/0.7088, allocations: 51.97 kB / 0.6594 GB, free: 3.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005621/0.7094, allocations: 427 kB / 0.6598 GB, free: 2.938 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7094, allocations: 0 / 0.6598 GB, free: 2.938 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009873/0.7104, allocations: 259.9 kB / 0.6601 GB, free: 2.684 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002152/0.7126, allocations: 1.54 MB / 0.6616 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.7138, allocations: 0.5436 MB / 0.6621 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.7138, allocations: 3.938 kB / 0.6621 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.7148, allocations: 422.7 kB / 0.6625 GB, free: 132 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.7164, allocations: 353.5 kB / 0.6629 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006695/0.7232, allocations: 4.238 MB / 0.667 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.7239, allocations: 0.9338 MB / 0.6679 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001372/0.7253, allocations: 457.7 kB / 0.6684 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/0.7259, allocations: 287.3 kB / 0.6686 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.7259, allocations: 0 / 0.6686 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.7708, allocations: 22.76 MB / 0.6909 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.7711, allocations: 273.6 kB / 0.6911 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/3.207, allocations: 0 / 0.6911 GB, free: 2.84 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat