Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.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.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir",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.001536/0.00154, allocations: 182.2 kB / 16.4 MB, free: 5.75 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.077/2.077, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001114/0.001114, allocations: 93.48 kB / 270.9 MB, free: 8.363 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.5306/0.5306, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005069, allocations: 12 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1379, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.5357/0.6736, allocations: 127.9 MB / 0.6037 GB, free: 6.453 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02245/0.6962, allocations: 11.36 MB / 0.6148 GB, free: 11.64 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000351/0.6966, allocations: 0 / 0.6148 GB, free: 11.64 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.697, allocations: 59.64 kB / 0.6149 GB, free: 11.59 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.7084, allocations: 2.493 MB / 0.6173 GB, free: 9.098 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.709, allocations: 143.7 kB / 0.6174 GB, free: 8.961 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008807/0.7099, allocations: 339.9 kB / 0.6178 GB, free: 8.629 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.71, allocations: 19.33 kB / 0.6178 GB, free: 8.609 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000607/0.7106, allocations: 227.3 kB / 0.618 GB, free: 8.387 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.7117, allocations: 327.3 kB / 0.6183 GB, free: 8.066 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.705e-05/0.7118, allocations: 15.94 kB / 0.6183 GB, free: 8.051 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01263/0.7244, allocations: 4.17 MB / 0.6224 GB, free: 3.875 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.7247, allocations: 87.75 kB / 0.6225 GB, free: 3.789 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.7249, allocations: 81.52 kB / 0.6226 GB, free: 3.703 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00564/0.7306, allocations: 1.577 MB / 0.6241 GB, free: 2.133 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7306, allocations: 0 / 0.6241 GB, free: 2.133 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.7306, allocations: 0 / 0.6241 GB, free: 2.133 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.7307, allocations: 0 / 0.6241 GB, free: 2.133 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.004357/0.735, allocations: 1.057 MB / 0.6251 GB, free: 1.031 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.7351, allocations: 12.03 kB / 0.6251 GB, free: 1.02 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.7353, allocations: 70.53 kB / 0.6252 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002263/0.7355, allocations: 39.62 kB / 0.6252 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.736, allocations: 255.7 kB / 0.6255 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.7361, allocations: 131.4 kB / 0.6256 GB, free: 472 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.436e-05/0.7362, allocations: 24 kB / 0.6256 GB, free: 448 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.7376, allocations: 0.5642 MB / 0.6262 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.7376, allocations: 7.938 kB / 0.6262 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.7377, allocations: 16 kB / 0.6262 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.657e-05/0.7378, allocations: 24.55 kB / 0.6262 GB, free: 15.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.7401, allocations: 1.263 MB / 0.6275 GB, free: 14.53 MB / 458.7 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.00409/0.7442, allocations: 2.054 MB / 0.6295 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.7454, allocations: 270.4 kB / 0.6297 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005192/0.7506, allocations: 3.067 MB / 0.6327 GB, free: 8.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.7507, allocations: 38.56 kB / 0.6328 GB, free: 8.453 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 3.236e-06/0.7507, allocations: 0 / 0.6328 GB, free: 8.453 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.003273/0.754, allocations: 0.8034 MB / 0.6335 GB, free: 7.605 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.7541, allocations: 63.36 kB / 0.6336 GB, free: 7.531 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.7544, allocations: 198.2 kB / 0.6338 GB, free: 7.328 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.175e-05/0.7545, allocations: 37.7 kB / 0.6338 GB, free: 7.285 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.7547, allocations: 258.3 kB / 0.6341 GB, free: 7.031 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.755, allocations: 161.7 kB / 0.6342 GB, free: 6.871 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.755, allocations: 12 kB / 0.6342 GB, free: 6.859 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.7552, allocations: 330.8 kB / 0.6346 GB, free: 6.527 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.7556, allocations: 105.2 kB / 0.6347 GB, free: 6.422 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.7562, allocations: 409.6 kB / 0.635 GB, free: 5.879 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.7568, allocations: 168.8 kB / 0.6352 GB, free: 5.715 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/0.7568, allocations: 4 kB / 0.6352 GB, free: 5.711 MB / 458.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001838/0.7586, allocations: 0.5567 MB / 0.6358 GB, free: 5.148 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-05/0.7588, allocations: 15.94 kB / 0.6358 GB, free: 5.133 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/0.7588, allocations: 8 kB / 0.6358 GB, free: 5.125 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.413e-05/0.7589, allocations: 16 kB / 0.6358 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.7606, allocations: 197 kB / 0.636 GB, free: 4.918 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.7617, allocations: 1.199 MB / 0.6372 GB, free: 3.676 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.7629, allocations: 24 kB / 0.6372 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/0.7632, allocations: 63.97 kB / 0.6372 GB, free: 3.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005295/0.7637, allocations: 189.6 kB / 0.6374 GB, free: 3.395 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.7639, allocations: 31.62 kB / 0.6374 GB, free: 3.363 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.7669, allocations: 0.6521 MB / 0.6381 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.011e-05/0.767, allocations: 4 kB / 0.6381 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.767, allocations: 3.984 kB / 0.6381 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.767, allocations: 3.984 kB / 0.6381 GB, free: 2.664 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.7689, allocations: 0.6608 MB / 0.6387 GB, free: 1.945 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.769, allocations: 0 / 0.6387 GB, free: 1.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008419/0.7698, allocations: 103.9 kB / 0.6388 GB, free: 1.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.7699, allocations: 7.938 kB / 0.6388 GB, free: 1.836 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.7699, allocations: 8 kB / 0.6389 GB, free: 1.828 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007627/0.7707, allocations: 1.176 MB / 0.64 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.7707, allocations: 4.031 kB / 0.64 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.7715, allocations: 350.3 kB / 0.6403 GB, free: 240 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.7718, allocations: 152.9 kB / 0.6405 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.363e-05/0.7719, allocations: 8 kB / 0.6405 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004807/0.7724, allocations: 13.92 kB / 0.6405 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.7725, allocations: 24.25 kB / 0.6405 GB, free: 24 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.7726, allocations: 23.98 kB / 0.6406 GB, free: 0 / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002854/0.7729, allocations: 168.5 kB / 0.6407 GB, free: 15.83 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7729, allocations: 0 / 0.6407 GB, free: 15.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002346/0.7752, allocations: 0.5426 MB / 0.6412 GB, free: 15.29 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004926/0.7802, allocations: 1.709 MB / 0.6429 GB, free: 13.56 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.782, allocations: 369.2 kB / 0.6433 GB, free: 13.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7821, allocations: 0.8125 kB / 0.6433 GB, free: 13.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006889/0.7828, allocations: 157.7 kB / 0.6434 GB, free: 13.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009867/0.7838, allocations: 90.88 kB / 0.6435 GB, free: 12.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008402/0.7922, allocations: 9.111 MB / 0.6524 GB, free: 3.598 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.7927, allocations: 0.7737 MB / 0.6532 GB, free: 2.801 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006897/0.7934, allocations: 151.3 kB / 0.6533 GB, free: 2.652 MB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7935, allocations: 0 / 0.6533 GB, free: 2.652 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.583/4.376, allocations: 16.07 MB / 0.669 GB, free: 2.566 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat does not exist to compare? outputFormat=mat