Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0008309/0.0008309, allocations: 97.23 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009126/0.0009127, allocations: 192.2 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002105/0.0002105, allocations: 7.984 kB / 306.8 MB, free: 1.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1007, allocations: 51.49 MB / 358.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001592/0.1023, allocations: 1.064 MB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.1143, allocations: 11.14 MB / 370.5 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.1144, allocations: 4 kB / 370.5 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.1144, allocations: 7.938 kB / 370.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.1168, allocations: 0.7972 MB / 371.3 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1181, allocations: 473.7 kB / 371.8 MB, free: 468 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.1182, allocations: 63.7 kB / 371.8 MB, free: 404 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.1182, allocations: 4 kB / 371.8 MB, free: 400 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.408e-05/0.1182, allocations: 23.92 kB / 371.9 MB, free: 376 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.1183, allocations: 31.89 kB / 371.9 MB, free: 344 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1183, allocations: 4 kB / 371.9 MB, free: 340 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1874/0.3057, allocations: 1.374 MB / 373.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.3058, allocations: 12.36 kB / 373.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.3059, allocations: 33.45 kB / 373.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.3073, allocations: 0.6743 MB / 374 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3073, allocations: 0.9844 kB / 374 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3073, allocations: 1.25 kB / 374 MB, free: 9.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.3073, allocations: 1.781 kB / 374 MB, free: 9.965 MB / 302.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.0006724/0.308, allocations: 0.5287 MB / 374.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3081, allocations: 10.88 kB / 374.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.3081, allocations: 33.44 kB / 374.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.3082, allocations: 15.75 kB / 374.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.3084, allocations: 180.4 kB / 374.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3084, allocations: 1.969 kB / 374.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.3084, allocations: 2.844 kB / 374.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3085, allocations: 65.14 kB / 374.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.3085, allocations: 2.156 kB / 374.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3086, allocations: 0.875 kB / 374.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3086, allocations: 1.062 kB / 374.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.851e-05/0.3087, allocations: 25.62 kB / 374.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.3088, allocations: 181.2 kB / 375 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.3091, allocations: 80.88 kB / 375.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.3091, allocations: 23.58 kB / 375.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00527/0.3144, allocations: 3.288 MB / 378.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.3144, allocations: 37.83 kB / 378.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.3145, allocations: 0 / 378.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002585/0.3147, allocations: 84.28 kB / 378.5 MB, free: 6.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.3148, allocations: 83.23 kB / 378.6 MB, free: 6.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.3148, allocations: 113.9 kB / 378.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.3148, allocations: 28.45 kB / 378.8 MB, free: 6.332 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.018e-05/0.3149, allocations: 83.97 kB / 378.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.3149, allocations: 30.58 kB / 378.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.3149, allocations: 0.5625 kB / 378.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.141e-05/0.315, allocations: 316 kB / 379.2 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-05/0.315, allocations: 10.22 kB / 379.2 MB, free: 5.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.241e-05/0.3151, allocations: 24.23 kB / 379.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.3151, allocations: 19.16 kB / 379.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3151, allocations: 0 / 379.2 MB, free: 5.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001376/0.3153, allocations: 72.47 kB / 379.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3153, allocations: 4.906 kB / 379.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3153, allocations: 1.75 kB / 379.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.3153, allocations: 1.438 kB / 379.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.318e-05/0.3154, allocations: 15.16 kB / 379.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3154, allocations: 0.9219 kB / 379.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.3154, allocations: 5.203 kB / 379.3 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.3155, allocations: 4.484 kB / 379.3 MB, free: 5.863 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 4.969e-05/0.3155, allocations: 116.2 kB / 379.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.3155, allocations: 12.17 kB / 379.5 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.3158, allocations: 105.4 kB / 379.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.3158, allocations: 2.078 kB / 379.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3158, allocations: 0.875 kB / 379.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3158, allocations: 1.891 kB / 379.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.947e-05/0.3159, allocations: 171.2 kB / 379.7 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3159, allocations: 1.688 kB / 379.7 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/0.316, allocations: 12.19 kB / 379.8 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.316, allocations: 5.234 kB / 379.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.316, allocations: 6.047 kB / 379.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.316, allocations: 1.922 kB / 379.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.316, allocations: 0 / 379.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.3162, allocations: 103 kB / 379.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.3162, allocations: 96.72 kB / 380 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3162, allocations: 6.812 kB / 380 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.28e-05/0.3163, allocations: 5.031 kB / 380 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.3164, allocations: 11.59 kB / 380 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.3164, allocations: 3.75 kB / 380 MB, free: 5.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.681e-05/0.3164, allocations: 92.31 kB / 380.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3164, allocations: 0 / 380.1 MB, free: 5.246 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008698/0.3173, allocations: 320.5 kB / 380.4 MB, free: 5.18 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.001278/0.3186, allocations: 1.102 MB / 381.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.3187, allocations: 39.41 kB / 381.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3187, allocations: 0 / 381.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.575e-05/0.3188, allocations: 22.47 kB / 381.6 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.319, allocations: 15.67 kB / 381.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/0.3199, allocations: 0.6449 MB / 382.2 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.566e-05/0.32, allocations: 0.6868 MB / 382.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.3201, allocations: 50.25 kB / 383 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.3202, allocations: 26.69 kB / 383 MB, free: 3.352 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3202, allocations: 0 / 383 MB, free: 3.352 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.3432, allocations: 10.14 MB / 393.1 MB, free: 64 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.3434, allocations: 180.7 kB / 393.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/2.626, allocations: 4.75 kB / 393.3 MB, free: 15.82 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat