Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.268/2.268, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2944/0.2944, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.201e-05/4.242e-05, allocations: 8 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1275, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.92/2.048, allocations: 0.6189 GB / 1.092 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/2.048, allocations: 101.3 kB / 1.092 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.129/3.177, allocations: 228.9 MB / 1.315 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.553e-06/3.177, allocations: 0 / 1.315 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.79e-05/3.177, allocations: 20.44 kB / 1.316 GB, free: 4.426 MB / 0.5105 GB 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.003655/3.181, allocations: 1.158 MB / 1.317 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/3.181, allocations: 8.031 kB / 1.317 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/3.181, allocations: 98.5 kB / 1.317 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/3.182, allocations: 131.1 kB / 1.317 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/3.184, allocations: 0.5481 MB / 1.317 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/3.184, allocations: 104.4 kB / 1.317 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/3.184, allocations: 48 kB / 1.318 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/3.186, allocations: 0.8036 MB / 1.318 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/3.186, allocations: 0 / 1.318 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/3.186, allocations: 24 kB / 1.318 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.976e-05/3.186, allocations: 36.97 kB / 1.318 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/3.187, allocations: 0.6088 MB / 1.319 GB, free: 0.6836 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.3861/3.573, allocations: 3.932 MB / 1.323 GB, free: 96.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/3.574, allocations: 325.6 kB / 1.323 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/3.575, allocations: 159.6 kB / 1.323 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/3.575, allocations: 29.03 kB / 1.323 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/3.575, allocations: 46.92 kB / 1.323 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.025e-06/3.575, allocations: 1.875 kB / 1.323 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.009446/3.584, allocations: 1.512 MB / 1.325 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/3.584, allocations: 134.4 kB / 1.325 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009702/3.585, allocations: 0.5282 MB / 1.325 GB, free: 95.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.787e-05/3.586, allocations: 36.98 kB / 1.326 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/3.586, allocations: 407.9 kB / 1.326 GB, free: 94.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/3.586, allocations: 140 kB / 1.326 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/3.586, allocations: 17.06 kB / 1.326 GB, free: 94.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.34e-05/3.586, allocations: 336.7 kB / 1.326 GB, free: 94.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/3.587, allocations: 190.3 kB / 1.327 GB, free: 94.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/3.587, allocations: 0.498 MB / 1.327 GB, free: 94.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006853/3.588, allocations: 286.1 kB / 1.327 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/3.588, allocations: 3.062 kB / 1.327 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002289/3.59, allocations: 0.8255 MB / 1.328 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/3.59, allocations: 9.094 kB / 1.328 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/3.591, allocations: 14.86 kB / 1.328 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/3.593, allocations: 308.7 kB / 1.328 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008466/3.594, allocations: 128.7 kB / 1.329 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/3.595, allocations: 0.915 MB / 1.329 GB, free: 93.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/3.596, allocations: 43.94 kB / 1.33 GB, free: 93.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/3.597, allocations: 67.41 kB / 1.33 GB, free: 93.54 MB / 0.5105 GB 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 () * 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.0002627/3.597, allocations: 157.8 kB / 1.33 GB, free: 93.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/3.597, allocations: 70.06 kB / 1.33 GB, free: 93.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/3.6, allocations: 0.6641 MB / 1.33 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/3.6, allocations: 4.656 kB / 1.33 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/3.6, allocations: 1.5 kB / 1.33 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/3.6, allocations: 5.391 kB / 1.33 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/3.602, allocations: 1.245 MB / 1.332 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/3.603, allocations: 2.156 kB / 1.332 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/3.605, allocations: 210.1 kB / 1.332 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/3.605, allocations: 24.52 kB / 1.332 GB, free: 92.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.466e-05/3.605, allocations: 23.98 kB / 1.332 GB, free: 92.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/3.607, allocations: 2.681 MB / 1.335 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/3.607, allocations: 1.375 kB / 1.335 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/3.609, allocations: 0.8302 MB / 1.335 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/3.61, allocations: 183.4 kB / 1.336 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/3.61, allocations: 11.12 kB / 1.336 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007666/3.61, allocations: 35.2 kB / 1.336 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/3.611, allocations: 42.16 kB / 1.336 GB, free: 89.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/3.611, allocations: 45.73 kB / 1.336 GB, free: 89.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008547/3.612, allocations: 422.5 kB / 1.336 GB, free: 89.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/3.612, allocations: 0 / 1.336 GB, free: 89.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00229/3.614, allocations: 381.2 kB / 1.336 GB, free: 89.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete 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.005067/3.619, allocations: 2.578 MB / 1.339 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001987/3.621, allocations: 0.5278 MB / 1.339 GB, free: 88.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/3.621, allocations: 1.156 kB / 1.339 GB, free: 88.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/3.623, allocations: 399.1 kB / 1.34 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/3.625, allocations: 333.4 kB / 1.34 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/3.629, allocations: 1.191 MB / 1.341 GB, free: 88.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/3.63, allocations: 0.9394 MB / 1.342 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009263/3.631, allocations: 285.7 kB / 1.342 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of SimCode: time 1.242e-06/3.631, allocations: 0 / 1.342 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.49/7.121, allocations: 23.79 MB / 1.366 GB, free: 87 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat