Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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 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(HelmholtzMedia.Examples.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",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.00121/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001288/0.001288, allocations: 196.4 kB / 16.14 MB, free: 6.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.271/1.271, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04376/0.04376, allocations: 9.079 MB / 278.4 MB, free: 12.41 MB / 238.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.001323/0.001323, allocations: 71.91 kB / 337.4 MB, free: 25.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06488/0.06621, allocations: 48.16 MB / 385.6 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01853/0.08478, allocations: 17.45 MB / 403.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008721/0.09355, allocations: 9.536 MB / 412.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.09365, allocations: 0 / 412.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009061/0.09457, allocations: 328 kB / 412.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0089/0.1035, allocations: 3.667 MB / 416.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.51e-05/0.1036, allocations: 11.98 kB / 416.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1037, allocations: 139.2 kB / 416.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.1038, allocations: 5.125 kB / 416.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1039, allocations: 59.61 kB / 416.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.691e-05/0.104, allocations: 51.66 kB / 416.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.104, allocations: 4 kB / 416.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009925/0.1139, allocations: 7.047 MB / 423.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.114, allocations: 11.92 kB / 423.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.114, allocations: 51.67 kB / 424 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1632/0.2772, allocations: 3.117 MB / 427.1 MB, free: 24.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2773, allocations: 0 / 427.1 MB, free: 24.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2773, allocations: 0 / 427.1 MB, free: 24.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2773, allocations: 0.9688 kB / 427.1 MB, free: 24.71 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001349/0.2786, allocations: 0.6939 MB / 427.8 MB, free: 24.24 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2787, allocations: 10.06 kB / 427.8 MB, free: 24.24 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.2787, allocations: 45.09 kB / 427.8 MB, free: 24.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.2788, allocations: 17.91 kB / 427.8 MB, free: 24.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.034e-05/0.2789, allocations: 184.8 kB / 428 MB, free: 23.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.2789, allocations: 4.438 kB / 428 MB, free: 23.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.279, allocations: 5.188 kB / 428 MB, free: 23.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.2792, allocations: 187.8 kB / 428.2 MB, free: 23.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2792, allocations: 3.375 kB / 428.2 MB, free: 23.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.2792, allocations: 1.125 kB / 428.2 MB, free: 23.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2792, allocations: 8.031 kB / 428.2 MB, free: 23.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.2794, allocations: 239.9 kB / 428.5 MB, free: 23.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.2797, allocations: 297.5 kB / 428.8 MB, free: 23.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.2799, allocations: 224.9 kB / 429 MB, free: 23.74 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.28, allocations: 185.8 kB / 429.2 MB, free: 23.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.2904, allocations: 4.259 MB / 433.4 MB, free: 20.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2905, allocations: 39.02 kB / 433.5 MB, free: 20.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.643e-06/0.2905, allocations: 0 / 433.5 MB, free: 20.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0005514/0.291, allocations: 494.7 kB / 433.9 MB, free: 20.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.2911, allocations: 53.5 kB / 434 MB, free: 20.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.683e-05/0.2911, allocations: 96.38 kB / 434.1 MB, free: 20.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.2911, allocations: 30.33 kB / 434.1 MB, free: 20.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.2912, allocations: 85.81 kB / 434.2 MB, free: 20.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.2912, allocations: 120.2 kB / 434.3 MB, free: 20.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/0.2913, allocations: 42.95 kB / 434.4 MB, free: 20.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.2913, allocations: 328.8 kB / 434.7 MB, free: 19.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.2915, allocations: 114.3 kB / 434.8 MB, free: 19.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.2916, allocations: 145 kB / 434.9 MB, free: 19.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.2919, allocations: 278.8 kB / 435.2 MB, free: 19.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2919, allocations: 0 / 435.2 MB, free: 19.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003356/0.2922, allocations: 326.8 kB / 435.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2923, allocations: 4.562 kB / 435.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.2923, allocations: 7.312 kB / 435.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2923, allocations: 0 / 435.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2924, allocations: 23.19 kB / 435.6 MB, free: 19.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.2924, allocations: 2.062 kB / 435.6 MB, free: 19.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.2925, allocations: 27.56 kB / 435.6 MB, free: 19.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.2925, allocations: 5.625 kB / 435.6 MB, free: 19.76 MB / 318.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6.139e-05/0.2926, allocations: 121.7 kB / 435.7 MB, free: 19.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.2926, allocations: 9.016 kB / 435.7 MB, free: 19.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/0.2931, allocations: 382.2 kB / 436.1 MB, free: 19.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2931, allocations: 9.391 kB / 436.1 MB, free: 19.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2931, allocations: 0 / 436.1 MB, free: 19.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2931, allocations: 5.344 kB / 436.1 MB, free: 19.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.2933, allocations: 290.8 kB / 436.4 MB, free: 19.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.2933, allocations: 2.359 kB / 436.4 MB, free: 19.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.2934, allocations: 22.64 kB / 436.4 MB, free: 19.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2934, allocations: 4.906 kB / 436.4 MB, free: 19.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2935, allocations: 2.875 kB / 436.4 MB, free: 19.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2935, allocations: 3.672 kB / 436.4 MB, free: 19.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2935, allocations: 3.938 kB / 436.4 MB, free: 19.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.2938, allocations: 433.2 kB / 436.9 MB, free: 19.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.2939, allocations: 100.7 kB / 437 MB, free: 19.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.2939, allocations: 1.125 kB / 437 MB, free: 19.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.294, allocations: 9.938 kB / 437 MB, free: 19.13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.2941, allocations: 11.42 kB / 437 MB, free: 19.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2941, allocations: 12.58 kB / 437 MB, free: 19.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.274e-05/0.2941, allocations: 79.86 kB / 437.1 MB, free: 19.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2941, allocations: 0 / 437.1 MB, free: 19.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001585/0.2957, allocations: 0.6162 MB / 437.7 MB, free: 18.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003173/0.2989, allocations: 1.858 MB / 439.5 MB, free: 18.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.2992, allocations: 337.6 kB / 439.9 MB, free: 18.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2992, allocations: 0.5625 kB / 439.9 MB, free: 18.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.2995, allocations: 210.9 kB / 440.1 MB, free: 18.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.3, allocations: 70.16 kB / 440.1 MB, free: 18.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3014, allocations: 0.7131 MB / 440.9 MB, free: 17.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.3016, allocations: 0.7148 MB / 441.6 MB, free: 17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.657e-05/0.3017, allocations: 19.81 kB / 441.6 MB, free: 16.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.3017, allocations: 39.45 kB / 441.6 MB, free: 16.98 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3017, allocations: 3.938 kB / 441.6 MB, free: 16.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3249/0.6267, allocations: 26.93 MB / 468.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001347/0.6269, allocations: 192.4 kB / 468.8 MB, free: 260 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.923/4.55, allocations: 0 / 468.8 MB, free: 260 kB / 318.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1)