Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.0009157/0.0009158, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005484/0.005485, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7083/0.7083, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 8.281 kB / 0.5041 GB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3859, allocations: 81.57 MB / 0.5837 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00115/0.3871, allocations: 0.9995 MB / 0.5847 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.3905, allocations: 2.89 MB / 0.5875 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.3905, allocations: 0.875 kB / 0.5875 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.3906, allocations: 5.297 kB / 0.5875 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.698e-05/0.3906, allocations: 5.5 kB / 0.5875 GB, free: 1.234 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.3911, allocations: 86.11 kB / 0.5876 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.3911, allocations: 38.58 kB / 0.5877 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.3912, allocations: 7.297 kB / 0.5877 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.3916, allocations: 139.8 kB / 0.5878 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.813e-05/0.3916, allocations: 21.28 kB / 0.5878 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.3917, allocations: 2.219 kB / 0.5878 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.3918, allocations: 63.09 kB / 0.5879 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.3918, allocations: 8.094 kB / 0.5879 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.3919, allocations: 42.58 kB / 0.5879 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.392, allocations: 63.61 kB / 0.588 GB, free: 1.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3921, allocations: 4.844 kB / 0.588 GB, free: 1.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3921, allocations: 4 kB / 0.588 GB, free: 1.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.3921, allocations: 0 / 0.588 GB, free: 1.02 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002766/0.3924, allocations: 332.2 kB / 0.5883 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3924, allocations: 13.41 kB / 0.5883 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.771e-05/0.3924, allocations: 40.97 kB / 0.5884 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.3925, allocations: 7.625 kB / 0.5884 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.575e-05/0.3925, allocations: 162.9 kB / 0.5885 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.3926, allocations: 2.344 kB / 0.5885 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.3926, allocations: 11.44 kB / 0.5885 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.3927, allocations: 53.72 kB / 0.5886 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3927, allocations: 1.312 kB / 0.5886 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3927, allocations: 4.844 kB / 0.5886 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3927, allocations: 0.9375 kB / 0.5886 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.148e-05/0.3928, allocations: 19.41 kB / 0.5886 GB, free: 368 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.3929, allocations: 166.9 kB / 0.5888 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.306e-05/0.393, allocations: 54.56 kB / 0.5888 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.393, allocations: 16.59 kB / 0.5888 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006517/0.3937, allocations: 0.6017 MB / 0.5894 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3937, allocations: 36.19 kB / 0.5895 GB, free: 15.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3937, allocations: 0 / 0.5895 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005438/0.3943, allocations: 300.7 kB / 0.5898 GB, free: 15.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.3943, allocations: 52.41 kB / 0.5898 GB, free: 15.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.3944, allocations: 99.62 kB / 0.5899 GB, free: 14.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3944, allocations: 30.86 kB / 0.5899 GB, free: 14.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.3945, allocations: 91.22 kB / 0.59 GB, free: 14.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.3945, allocations: 27.83 kB / 0.59 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.3945, allocations: 19.2 kB / 0.5901 GB, free: 14.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.3946, allocations: 322.1 kB / 0.5904 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.3947, allocations: 8.719 kB / 0.5904 GB, free: 14.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.886e-05/0.3947, allocations: 53.48 kB / 0.5904 GB, free: 14.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.725e-05/0.3948, allocations: 72.91 kB / 0.5905 GB, free: 14.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3948, allocations: 3.938 kB / 0.5905 GB, free: 14.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001373/0.395, allocations: 91.31 kB / 0.5906 GB, free: 14.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.395, allocations: 5.406 kB / 0.5906 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.395, allocations: 2.125 kB / 0.5906 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.395, allocations: 1.75 kB / 0.5906 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.3951, allocations: 23.78 kB / 0.5906 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3951, allocations: 10.84 kB / 0.5906 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.725e-05/0.3952, allocations: 5.094 kB / 0.5906 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3952, allocations: 4.125 kB / 0.5906 GB, free: 14.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 6.778e-05/0.3953, allocations: 121.6 kB / 0.5908 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.3953, allocations: 2.219 kB / 0.5908 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.3953, allocations: 10.16 kB / 0.5908 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3953, allocations: 1.328 kB / 0.5908 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3953, allocations: 4.375 kB / 0.5908 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3953, allocations: 5.328 kB / 0.5908 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.3956, allocations: 177 kB / 0.5909 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3956, allocations: 4.797 kB / 0.591 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.3957, allocations: 15.52 kB / 0.591 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3957, allocations: 1 kB / 0.591 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3957, allocations: 0.5938 kB / 0.591 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3957, allocations: 1.969 kB / 0.591 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3957, allocations: 0 / 0.591 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.3959, allocations: 175.2 kB / 0.5911 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.3959, allocations: 86.09 kB / 0.5912 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.396, allocations: 2.125 kB / 0.5912 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3961, allocations: 6.422 kB / 0.5912 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.3961, allocations: 8.25 kB / 0.5912 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.3961, allocations: 3.031 kB / 0.5912 GB, free: 13.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.529e-05/0.3961, allocations: 83 kB / 0.5913 GB, free: 13.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3961, allocations: 0 / 0.5913 GB, free: 13.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.3964, allocations: 14.62 kB / 0.5913 GB, free: 13.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0003944/0.3968, allocations: 0.716 MB / 0.592 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.3969, allocations: 37.83 kB / 0.5921 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3969, allocations: 0.7188 kB / 0.5921 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.3969, allocations: 16.97 kB / 0.5921 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.3972, allocations: 17.64 kB / 0.5921 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.3985, allocations: 1.591 MB / 0.5937 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.3987, allocations: 0.6841 MB / 0.5943 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.951e-05/0.3988, allocations: 13.36 kB / 0.5943 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.3988, allocations: 15.98 kB / 0.5944 GB, free: 10.72 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3988, allocations: 0 / 0.5944 GB, free: 10.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/0.538, allocations: 1.431 MB / 0.5957 GB, free: 10.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.5382, allocations: 192.1 kB / 0.5959 GB, free: 10.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.56, allocations: 0.5938 kB / 0.5959 GB, free: 10.32 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)