Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009263/0.0009263, allocations: 100.5 kB / 16.96 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009228/0.0009229, allocations: 181.7 kB / 17.84 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 224 MB, free: 13.02 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004505, allocations: 12 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.0972, allocations: 47.58 MB / 328.5 MB, free: 3.957 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001332/0.09859, allocations: 1.058 MB / 329.5 MB, free: 2.887 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.111, allocations: 11.12 MB / 340.6 MB, free: 7.719 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.1111, allocations: 0 / 340.6 MB, free: 7.719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.1112, allocations: 3.938 kB / 340.6 MB, free: 7.715 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.114, allocations: 0.801 MB / 341.4 MB, free: 6.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.1155, allocations: 477.7 kB / 341.9 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.393e-05/0.1156, allocations: 59.7 kB / 342 MB, free: 6.383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.1157, allocations: 4 kB / 342 MB, free: 6.379 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.646e-05/0.1157, allocations: 23.92 kB / 342 MB, free: 6.355 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.1158, allocations: 31.89 kB / 342 MB, free: 6.324 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1158, allocations: 4 kB / 342 MB, free: 6.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.1186, allocations: 1.381 MB / 343.4 MB, free: 4.938 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.1186, allocations: 8 kB / 343.4 MB, free: 4.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.1186, allocations: 37.62 kB / 343.5 MB, free: 4.887 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.1197, allocations: 0.6746 MB / 344.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1197, allocations: 0 / 344.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1197, allocations: 0 / 344.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.1197, allocations: 0 / 344.1 MB, free: 4.211 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006631/0.1204, allocations: 0.5378 MB / 344.7 MB, free: 3.625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1205, allocations: 12.03 kB / 344.7 MB, free: 3.613 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.1205, allocations: 34.55 kB / 344.7 MB, free: 3.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.1206, allocations: 4 kB / 344.7 MB, free: 3.566 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.1208, allocations: 183 kB / 344.9 MB, free: 3.348 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1208, allocations: 0 / 344.9 MB, free: 3.348 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1208, allocations: 4 kB / 344.9 MB, free: 3.344 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.121, allocations: 71.33 kB / 345 MB, free: 3.262 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.121, allocations: 0 / 345 MB, free: 3.262 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.121, allocations: 4 kB / 345 MB, free: 3.258 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.121, allocations: 3.984 kB / 345 MB, free: 3.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.736e-05/0.1211, allocations: 23.98 kB / 345 MB, free: 3.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.1213, allocations: 190.3 kB / 345.2 MB, free: 2.992 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.1217, allocations: 85.19 kB / 345.3 MB, free: 2.891 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.1218, allocations: 21.72 kB / 345.3 MB, free: 2.863 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005827/0.1276, allocations: 3.293 MB / 348.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1277, allocations: 34.56 kB / 348.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1277, allocations: 0 / 348.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002976/0.128, allocations: 73.61 kB / 348.7 MB, free: 15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.1281, allocations: 85.05 kB / 348.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1283, allocations: 117.8 kB / 348.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1283, allocations: 29.69 kB / 348.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.1284, allocations: 88.14 kB / 349 MB, free: 14.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1284, allocations: 15.72 kB / 349 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.1284, allocations: 4 kB / 349 MB, free: 14.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1285, allocations: 314.8 kB / 349.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.611e-05/0.1286, allocations: 12 kB / 349.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/0.1286, allocations: 21.7 kB / 349.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.272e-05/0.1287, allocations: 15.95 kB / 349.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1287, allocations: 4 kB / 349.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001541/0.1289, allocations: 69.61 kB / 349.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.1289, allocations: 8 kB / 349.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1289, allocations: 0 / 349.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1289, allocations: 0 / 349.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.129, allocations: 11.98 kB / 349.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.129, allocations: 4 kB / 349.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/0.1291, allocations: 7.844 kB / 349.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1291, allocations: 4 kB / 349.5 MB, free: 14.15 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.683e-05/0.1292, allocations: 121.8 kB / 349.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.1292, allocations: 4 kB / 349.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.1295, allocations: 114.1 kB / 349.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1295, allocations: 4 kB / 349.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1295, allocations: 4 kB / 349.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1295, allocations: 0 / 349.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.1296, allocations: 161.7 kB / 349.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1296, allocations: 7.953 kB / 349.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.1297, allocations: 8 kB / 349.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1297, allocations: 0 / 349.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1297, allocations: 3.984 kB / 349.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1297, allocations: 4 kB / 349.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1297, allocations: 0 / 349.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.1299, allocations: 97.92 kB / 350 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/0.13, allocations: 100.9 kB / 350.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.13, allocations: 4.188 kB / 350.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.1301, allocations: 7.938 kB / 350.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.1302, allocations: 15.92 kB / 350.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.1302, allocations: 4 kB / 350.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.032e-05/0.1302, allocations: 91.27 kB / 350.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1302, allocations: 4 kB / 350.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009034/0.1311, allocations: 319.6 kB / 350.5 MB, free: 12.99 MB / 302.1 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/0.1326, allocations: 1.101 MB / 351.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1329, allocations: 31.98 kB / 351.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1329, allocations: 0 / 351.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.003e-05/0.133, allocations: 23.92 kB / 351.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.1332, allocations: 12 kB / 351.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1343, allocations: 0.644 MB / 352.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1345, allocations: 0.6888 MB / 353 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.1346, allocations: 48.28 kB / 353.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.1347, allocations: 23.42 kB / 353.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1347, allocations: 0 / 353.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.1601, allocations: 10.14 MB / 363.2 MB, free: 176 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.1604, allocations: 195 kB / 363.4 MB, free: 15.92 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/2.558, allocations: 0 / 363.4 MB, free: 15.92 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat