Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.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.Parameter.State_dT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_dT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter",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.001389/0.001389, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001642/0.001642, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.308/1.308, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04123/0.04123, allocations: 9.082 MB / 278.5 MB, free: 12.35 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.001337/0.001337, allocations: 63.84 kB / 337.6 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07837/0.07972, allocations: 48.16 MB / 385.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.026/0.1058, allocations: 17.26 MB / 403 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02008/0.1259, allocations: 15.47 MB / 418.5 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.126, allocations: 8 kB / 418.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008819/0.127, allocations: 355.7 kB / 418.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002593/0.1296, allocations: 1.193 MB / 420.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009523/0.1391, allocations: 3.954 MB / 424 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.1393, allocations: 147.2 kB / 424.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.1394, allocations: 17.08 kB / 424.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1395, allocations: 63.66 kB / 424.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.536e-05/0.1396, allocations: 51.73 kB / 424.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1396, allocations: 4 kB / 424.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1566/0.2962, allocations: 8.54 MB / 432.8 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.2963, allocations: 17.08 kB / 432.9 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.2964, allocations: 54.16 kB / 432.9 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008573/0.305, allocations: 3.51 MB / 436.4 MB, free: 18.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.305, allocations: 1.656 kB / 436.4 MB, free: 18.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3051, allocations: 0 / 436.4 MB, free: 18.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3051, allocations: 0 / 436.4 MB, free: 18.66 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001619/0.3067, allocations: 0.7928 MB / 437.2 MB, free: 18.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3067, allocations: 9.469 kB / 437.2 MB, free: 18.08 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.3068, allocations: 46.33 kB / 437.3 MB, free: 18.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004029/0.3072, allocations: 61.55 kB / 437.3 MB, free: 18.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.093e-05/0.3073, allocations: 173.2 kB / 437.5 MB, free: 17.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.3073, allocations: 2.188 kB / 437.5 MB, free: 17.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3073, allocations: 7.781 kB / 437.5 MB, free: 17.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.3077, allocations: 259.7 kB / 437.8 MB, free: 17.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3077, allocations: 0.9688 kB / 437.8 MB, free: 17.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.3077, allocations: 0 / 437.8 MB, free: 17.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3077, allocations: 11.69 kB / 437.8 MB, free: 17.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.3082, allocations: 450.9 kB / 438.2 MB, free: 17.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.3085, allocations: 326.6 kB / 438.5 MB, free: 17.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.3089, allocations: 278.2 kB / 438.8 MB, free: 17.58 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.3091, allocations: 244 kB / 439 MB, free: 17.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01492/0.324, allocations: 10.02 MB / 449.1 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3241, allocations: 33.19 kB / 449.1 MB, free: 8.742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 2.535e-06/0.3241, allocations: 0 / 449.1 MB, free: 8.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0008216/0.3249, allocations: 0.6721 MB / 449.8 MB, free: 8.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.325, allocations: 58.84 kB / 449.8 MB, free: 8.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.991e-05/0.325, allocations: 103.1 kB / 449.9 MB, free: 8.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.325, allocations: 25.7 kB / 450 MB, free: 8.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.495e-05/0.3251, allocations: 80.8 kB / 450 MB, free: 8.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.3251, allocations: 130.9 kB / 450.2 MB, free: 8.324 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.3252, allocations: 47.31 kB / 450.2 MB, free: 8.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.642e-05/0.3253, allocations: 328.4 kB / 450.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.3254, allocations: 185.4 kB / 450.7 MB, free: 7.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.3256, allocations: 191.3 kB / 450.9 MB, free: 7.992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.326, allocations: 449.4 kB / 451.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.326, allocations: 3.656 kB / 451.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004936/0.3265, allocations: 492.8 kB / 451.8 MB, free: 7.875 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3265, allocations: 5.875 kB / 451.8 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3266, allocations: 4 kB / 451.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3266, allocations: 3.219 kB / 451.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3267, allocations: 21.94 kB / 451.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3267, allocations: 9.5 kB / 451.9 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.3268, allocations: 24.75 kB / 451.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.3269, allocations: 5.094 kB / 451.9 MB, free: 7.852 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 7.655e-05/0.327, allocations: 122.8 kB / 452 MB, free: 7.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.327, allocations: 10.97 kB / 452 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000707/0.3277, allocations: 0.6661 MB / 452.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.3277, allocations: 4.406 kB / 452.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3277, allocations: 6.516 kB / 452.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3277, allocations: 0 / 452.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009117/0.3287, allocations: 0.9098 MB / 453.6 MB, free: 7.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3287, allocations: 2.469 kB / 453.6 MB, free: 7.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.3288, allocations: 35.78 kB / 453.6 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3288, allocations: 3.375 kB / 453.6 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3289, allocations: 14.98 kB / 453.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3289, allocations: 3.812 kB / 453.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3289, allocations: 1.938 kB / 453.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.3292, allocations: 371.7 kB / 454 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.3293, allocations: 85.83 kB / 454.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.3293, allocations: 32.05 kB / 454.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3295, allocations: 4.031 kB / 454.2 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.3295, allocations: 20.92 kB / 454.2 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.3295, allocations: 13.28 kB / 454.2 MB, free: 6.703 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.3296, allocations: 171.6 kB / 454.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3296, allocations: 0 / 454.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002306/0.3319, allocations: 0.7451 MB / 455.1 MB, free: 6.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (12): * Single equations (assignments): 12 * 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.003688/0.3356, allocations: 2.014 MB / 457.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.3361, allocations: 351.3 kB / 457.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3361, allocations: 0 / 457.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.3362, allocations: 96.81 kB / 457.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.3369, allocations: 85.39 kB / 457.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.3398, allocations: 3.094 MB / 460.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.3399, allocations: 0.7045 MB / 461.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003225/0.3403, allocations: 297.1 kB / 461.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.3403, allocations: 42.55 kB / 461.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3403, allocations: 0 / 461.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04562/0.386, allocations: 28.23 MB / 490 MB, free: 8.359 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.3862, allocations: 201.6 kB / 490.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.086, allocations: 3.188 kB / 490.2 MB, free: 8.105 MB / 350.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe 2>&1)