Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_0-beta_om_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.001393/0.001393, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.386/1.386, allocations: 227.7 MB / 247.2 MB, free: 10.24 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 358.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2566, allocations: 50.54 MB / 409.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002733/0.2594, allocations: 1.366 MB / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.2737, allocations: 12.11 MB / 422.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.2738, allocations: 0 / 422.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.2739, allocations: 3.938 kB / 422.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003513/0.2774, allocations: 1.041 MB / 423.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.2795, allocations: 0.6256 MB / 424.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.2796, allocations: 67.64 kB / 424.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.2796, allocations: 4 kB / 424.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.2797, allocations: 27.92 kB / 424.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.017e-05/0.2798, allocations: 39.89 kB / 424.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2798, allocations: 4 kB / 424.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.2831, allocations: 1.612 MB / 426 MB, free: 448 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.2832, allocations: 11.98 kB / 426 MB, free: 436 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.2832, allocations: 27.86 kB / 426 MB, free: 408 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.2854, allocations: 1.072 MB / 427.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2854, allocations: 0 / 427.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.2855, allocations: 3.938 kB / 427.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2855, allocations: 0 / 427.1 MB, free: 15.32 MB / 350.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.0007742/0.2862, allocations: 0.5521 MB / 427.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2863, allocations: 8.031 kB / 427.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.2863, allocations: 38.75 kB / 427.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.2865, allocations: 12.88 kB / 427.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.2866, allocations: 180.4 kB / 427.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.2867, allocations: 4.375 kB / 427.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.2867, allocations: 384 / 427.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.2868, allocations: 71.33 kB / 427.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2869, allocations: 0 / 427.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.2869, allocations: 3.938 kB / 427.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2869, allocations: 0 / 427.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.287, allocations: 19.98 kB / 428 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.2872, allocations: 178.6 kB / 428.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.2875, allocations: 85.05 kB / 428.2 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.625e-05/0.2876, allocations: 29.77 kB / 428.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0066/0.2942, allocations: 3.313 MB / 431.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.2943, allocations: 38.56 kB / 431.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.2943, allocations: 0 / 431.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003314/0.2946, allocations: 77.61 kB / 431.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.2947, allocations: 77.11 kB / 431.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.2948, allocations: 113.8 kB / 431.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2948, allocations: 29.69 kB / 431.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.2949, allocations: 88.14 kB / 432 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.2949, allocations: 19.8 kB / 432 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.295, allocations: 25.7 kB / 432 MB, free: 9.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2951, allocations: 314.8 kB / 432.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.2952, allocations: 15.92 kB / 432.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.4e-05/0.2952, allocations: 21.72 kB / 432.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.2953, allocations: 37.7 kB / 432.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2954, allocations: 4 kB / 432.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001686/0.2955, allocations: 73.97 kB / 432.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2956, allocations: 4 kB / 432.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2956, allocations: 4 kB / 432.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2956, allocations: 0 / 432.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.628e-05/0.2957, allocations: 11.98 kB / 432.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2957, allocations: 0 / 432.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.2957, allocations: 8 kB / 432.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2957, allocations: 128 / 432.5 MB, free: 9.176 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.43e-05/0.2958, allocations: 113.8 kB / 432.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.2959, allocations: 23.81 kB / 432.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.2961, allocations: 105.8 kB / 432.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2961, allocations: 4 kB / 432.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2961, allocations: 0 / 432.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2962, allocations: 4 kB / 432.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.2963, allocations: 173.6 kB / 432.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2963, allocations: 7.938 kB / 432.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.2964, allocations: 8 kB / 432.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2964, allocations: 0 / 432.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.2964, allocations: 3.984 kB / 432.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2964, allocations: 4 kB / 432.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2964, allocations: 0 / 432.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.2966, allocations: 101.9 kB / 433 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.2967, allocations: 89.03 kB / 433.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.2967, allocations: 4 kB / 433.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.2968, allocations: 7.984 kB / 433.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.2969, allocations: 7.938 kB / 433.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.2969, allocations: 7.984 kB / 433.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.692e-05/0.2969, allocations: 87.28 kB / 433.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2969, allocations: 4 kB / 433.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008123/0.2978, allocations: 334.8 kB / 433.6 MB, free: 8.004 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001582/0.2994, allocations: 1.123 MB / 434.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.2995, allocations: 35.92 kB / 434.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2995, allocations: 0 / 434.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.2996, allocations: 19.98 kB / 434.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.2998, allocations: 8 kB / 434.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.3015, allocations: 1.464 MB / 436.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3018, allocations: 0.6807 MB / 436.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.3019, allocations: 52.09 kB / 437 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.302, allocations: 23.42 kB / 437 MB, free: 4.445 MB / 350.1 MB Notification: Performance of SimCode: time 2.184e-06/0.302, allocations: 0 / 437 MB, free: 4.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.3372, allocations: 10.54 MB / 447.5 MB, free: 9.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/8.718, allocations: 4.891 kB / 447.5 MB, free: 9.988 MB / 366.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1)