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.002534/0.00254, allocations: 189.2 kB / 16.4 MB, free: 5.625 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.091/2.091, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001166/0.001166, allocations: 106.8 kB / 270.9 MB, free: 13.37 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.2971/0.2971, allocations: 43.57 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005162, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1276, allocations: 58.85 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5871/0.7147, allocations: 141.9 MB / 0.6174 GB, free: 12.79 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.7332, allocations: 8.805 MB / 0.626 GB, free: 3.977 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.7343, allocations: 27.75 kB / 0.626 GB, free: 3.949 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.7356, allocations: 266.7 kB / 0.6263 GB, free: 3.688 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.7409, allocations: 1.191 MB / 0.6274 GB, free: 2.496 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004169/0.7451, allocations: 0.8926 MB / 0.6283 GB, free: 1.602 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002652/0.7478, allocations: 1.051 MB / 0.6293 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.7489, allocations: 390.8 kB / 0.6297 GB, free: 172 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002843/0.7517, allocations: 0.744 MB / 0.6304 GB, free: 15.42 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.7531, allocations: 454.5 kB / 0.6309 GB, free: 14.98 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.7533, allocations: 32 kB / 0.6309 GB, free: 14.95 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.7558, allocations: 0.6242 MB / 0.6315 GB, free: 14.32 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000502/0.7564, allocations: 207.5 kB / 0.6317 GB, free: 14.12 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.7568, allocations: 165.3 kB / 0.6319 GB, free: 13.95 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.7592, allocations: 0.9908 MB / 0.6328 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7592, allocations: 4 kB / 0.6328 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.7592, allocations: 0 / 0.6328 GB, free: 12.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.7593, allocations: 0 / 0.6328 GB, free: 12.95 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.0032/0.7625, allocations: 0.9901 MB / 0.6338 GB, free: 11.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.7626, allocations: 19.94 kB / 0.6338 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002567/0.7628, allocations: 94.52 kB / 0.6339 GB, free: 11.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.764, allocations: 131.1 kB / 0.634 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.7655, allocations: 496.6 kB / 0.6345 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.7657, allocations: 100.4 kB / 0.6346 GB, free: 11.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.7658, allocations: 47.98 kB / 0.6347 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.768, allocations: 0.8174 MB / 0.6355 GB, free: 10.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.768, allocations: 0 / 0.6355 GB, free: 10.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.7682, allocations: 20 kB / 0.6355 GB, free: 10.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.7683, allocations: 40.98 kB / 0.6355 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.7702, allocations: 0.6282 MB / 0.6361 GB, free: 9.395 MB / 442.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.00764/0.7779, allocations: 3.953 MB / 0.64 GB, free: 5.188 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.779, allocations: 343.6 kB / 0.6403 GB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.7791, allocations: 28.91 kB / 0.6403 GB, free: 4.816 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.7792, allocations: 42.83 kB / 0.6404 GB, free: 4.766 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 4.789e-06/0.7792, allocations: 3.984 kB / 0.6404 GB, free: 4.762 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.009938/0.7891, allocations: 1.673 MB / 0.642 GB, free: 3.016 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/0.7893, allocations: 136.5 kB / 0.6422 GB, free: 2.852 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.7905, allocations: 0.6016 MB / 0.6427 GB, free: 2.242 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.7906, allocations: 37.7 kB / 0.6428 GB, free: 2.199 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.791, allocations: 389.5 kB / 0.6431 GB, free: 1.816 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.7913, allocations: 145.9 kB / 0.6433 GB, free: 1.672 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.7913, allocations: 16 kB / 0.6433 GB, free: 1.656 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.7915, allocations: 342.8 kB / 0.6436 GB, free: 1.312 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006779/0.7922, allocations: 201.9 kB / 0.6438 GB, free: 1.117 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009452/0.7932, allocations: 0.5046 MB / 0.6443 GB, free: 480 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008491/0.794, allocations: 287.8 kB / 0.6446 GB, free: 192 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.549e-06/0.7941, allocations: 4 kB / 0.6446 GB, free: 188 kB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002511/0.7966, allocations: 0.8436 MB / 0.6454 GB, free: 15.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.7967, allocations: 15.39 kB / 0.6454 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.7967, allocations: 8.844 kB / 0.6454 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/0.7992, allocations: 320.6 kB / 0.6457 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/0.8, allocations: 119.8 kB / 0.6459 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.802, allocations: 0.9346 MB / 0.6468 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009943/0.803, allocations: 47.98 kB / 0.6468 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.8032, allocations: 67.98 kB / 0.6469 GB, free: 13.8 MB / 458.7 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.0005564/0.8037, allocations: 241.6 kB / 0.6471 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.8039, allocations: 67.16 kB / 0.6472 GB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.8065, allocations: 0.6857 MB / 0.6478 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.8066, allocations: 11.89 kB / 0.6479 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8066, allocations: 0 / 0.6479 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.8066, allocations: 0 / 0.6479 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.81, allocations: 1.265 MB / 0.6491 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.81, allocations: 0 / 0.6491 GB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/0.8121, allocations: 215.8 kB / 0.6493 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001692/0.8123, allocations: 20.84 kB / 0.6493 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.382e-05/0.8124, allocations: 19.98 kB / 0.6493 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003092/0.8155, allocations: 2.688 MB / 0.652 GB, free: 8.211 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.8156, allocations: 3.938 kB / 0.652 GB, free: 8.207 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.8179, allocations: 0.8537 MB / 0.6528 GB, free: 7.297 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/0.8185, allocations: 188.1 kB / 0.653 GB, free: 7.094 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.8186, allocations: 8 kB / 0.653 GB, free: 7.086 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000786/0.8194, allocations: 28.05 kB / 0.653 GB, free: 7.059 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.8196, allocations: 39.94 kB / 0.6531 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.8198, allocations: 51.92 kB / 0.6531 GB, free: 6.969 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008846/0.8207, allocations: 423 kB / 0.6535 GB, free: 6.559 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.8207, allocations: 0 / 0.6535 GB, free: 6.559 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001566/0.8223, allocations: 288 kB / 0.6538 GB, free: 6.277 MB / 458.7 MB 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 () * 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.004118/0.8264, allocations: 1.932 MB / 0.6557 GB, free: 4.293 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002065/0.8285, allocations: 0.5471 MB / 0.6562 GB, free: 3.746 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.178e-05/0.8286, allocations: 3.859 kB / 0.6562 GB, free: 3.742 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.8303, allocations: 410.7 kB / 0.6566 GB, free: 3.328 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/0.8333, allocations: 323.3 kB / 0.6569 GB, free: 3.016 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.8477, allocations: 10.88 MB / 0.6675 GB, free: 7.855 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/0.8485, allocations: 0.9494 MB / 0.6685 GB, free: 6.879 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009985/0.8495, allocations: 287.3 kB / 0.6687 GB, free: 6.598 MB / 474.7 MB Notification: Performance of SimCode: time 1.733e-06/0.8496, allocations: 0 / 0.6687 GB, free: 6.598 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.597/4.447, allocations: 19.86 MB / 0.6881 GB, free: 2.734 MB / 490.7 MB (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