Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001377/0.001377, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.833/1.833, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001061/0.00106, allocations: 84.36 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5328/0.5328, allocations: 43.46 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.401e-05, allocations: 0 / 425.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1548, allocations: 58.84 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.805/1.96, allocations: 0.6189 GB / 1.092 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/1.96, allocations: 91.14 kB / 1.092 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.333/3.293, allocations: 228.9 MB / 1.315 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.555e-06/3.293, allocations: 2.297 kB / 1.315 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001349/3.293, allocations: 22.3 kB / 1.316 GB, free: 92.88 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.004876/3.298, allocations: 1.155 MB / 1.317 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/3.298, allocations: 11.91 kB / 1.317 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003603/3.298, allocations: 100.8 kB / 1.317 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/3.299, allocations: 135.9 kB / 1.317 GB, free: 92.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/3.301, allocations: 0.5393 MB / 1.317 GB, free: 92.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/3.301, allocations: 104.8 kB / 1.318 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/3.301, allocations: 50.31 kB / 1.318 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/3.303, allocations: 0.8046 MB / 1.318 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/3.303, allocations: 5.531 kB / 1.318 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/3.303, allocations: 25.95 kB / 1.318 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.07e-05/3.303, allocations: 35.38 kB / 1.318 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/3.304, allocations: 0.6006 MB / 1.319 GB, free: 91.91 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.004925/3.309, allocations: 3.935 MB / 1.323 GB, free: 89.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/3.31, allocations: 327.1 kB / 1.323 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/3.31, allocations: 161.2 kB / 1.323 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/3.31, allocations: 29.36 kB / 1.323 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/3.31, allocations: 38.31 kB / 1.323 GB, free: 89.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.445e-06/3.31, allocations: 0 / 1.323 GB, free: 89.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.005799/3.316, allocations: 1.51 MB / 1.325 GB, free: 88.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/3.316, allocations: 134.8 kB / 1.325 GB, free: 88.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/3.317, allocations: 0.5412 MB / 1.325 GB, free: 88.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/3.317, allocations: 36.77 kB / 1.326 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/3.317, allocations: 365.5 kB / 1.326 GB, free: 88.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/3.318, allocations: 144.5 kB / 1.326 GB, free: 88.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/3.318, allocations: 14.34 kB / 1.326 GB, free: 88.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001326/3.318, allocations: 378.3 kB / 1.326 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/3.318, allocations: 189.1 kB / 1.327 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/3.319, allocations: 0.4956 MB / 1.327 GB, free: 87.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/3.319, allocations: 292.2 kB / 1.327 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/3.319, allocations: 5.375 kB / 1.327 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001718/3.321, allocations: 0.8552 MB / 1.328 GB, free: 87.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/3.321, allocations: 13.2 kB / 1.328 GB, free: 87.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/3.321, allocations: 9.156 kB / 1.328 GB, free: 87.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/3.322, allocations: 314.2 kB / 1.328 GB, free: 87.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/3.323, allocations: 118.2 kB / 1.329 GB, free: 87.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/3.324, allocations: 0.9273 MB / 1.33 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/3.325, allocations: 44.59 kB / 1.33 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/3.325, allocations: 70.72 kB / 1.33 GB, free: 86.9 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.0002368/3.325, allocations: 160.8 kB / 1.33 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/3.326, allocations: 72.34 kB / 1.33 GB, free: 86.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/3.327, allocations: 0.6639 MB / 1.33 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/3.327, allocations: 3.938 kB / 1.33 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/3.327, allocations: 0 / 1.33 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/3.327, allocations: 3.469 kB / 1.33 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/3.33, allocations: 1.251 MB / 1.332 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/3.33, allocations: 3.188 kB / 1.332 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/3.331, allocations: 208.1 kB / 1.332 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001087/3.331, allocations: 27.81 kB / 1.332 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/3.331, allocations: 18.22 kB / 1.332 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/3.333, allocations: 2.675 MB / 1.335 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/3.333, allocations: 6.938 kB / 1.335 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/3.334, allocations: 0.8291 MB / 1.335 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004963/3.334, allocations: 184.4 kB / 1.336 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/3.335, allocations: 6.75 kB / 1.336 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/3.335, allocations: 29.83 kB / 1.336 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/3.335, allocations: 37.44 kB / 1.336 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/3.335, allocations: 49.95 kB / 1.336 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000706/3.336, allocations: 421.5 kB / 1.336 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/3.336, allocations: 0 / 1.336 GB, free: 83.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002251/3.338, allocations: 385 kB / 1.336 GB, free: 83.16 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.00517/3.344, allocations: 2.594 MB / 1.339 GB, free: 82.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001582/3.345, allocations: 0.531 MB / 1.34 GB, free: 81.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/3.345, allocations: 2.844 kB / 1.34 GB, free: 81.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009355/3.346, allocations: 399.2 kB / 1.34 GB, free: 81.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/3.348, allocations: 330.9 kB / 1.34 GB, free: 81.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/3.352, allocations: 1.157 MB / 1.341 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/3.353, allocations: 0.9414 MB / 1.342 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001366/3.354, allocations: 263.5 kB / 1.343 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/3.355, allocations: 276.7 kB / 1.343 GB, free: 80.83 MB / 0.5105 GB Notification: Performance of SimCode: time 1.473e-06/3.355, allocations: 3.062 kB / 1.343 GB, free: 80.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/3.462, allocations: 38.78 MB / 1.381 GB, free: 79.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003403/3.463, allocations: 236.8 kB / 1.381 GB, free: 79.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.351/6.814, allocations: 0 / 1.381 GB, free: 79.33 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat