Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density",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.001076/0.001076, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001068/0.001069, allocations: 186.1 kB / 16.25 MB, free: 6.141 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.268/1.268, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.223/1.223, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 64.81 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2614, allocations: 80.93 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.8109/1.072, allocations: 182.6 MB / 0.7623 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01613/1.089, allocations: 6.934 MB / 0.7691 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/1.09, allocations: 27.81 kB / 0.7691 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/1.092, allocations: 342.2 kB / 0.7694 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006293/1.098, allocations: 1.37 MB / 0.7708 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005093/1.103, allocations: 1.058 MB / 0.7718 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00391/1.107, allocations: 1.946 MB / 0.7737 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/1.109, allocations: 0.6375 MB / 0.7743 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/1.111, allocations: 0.8367 MB / 0.7751 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/1.113, allocations: 0.6257 MB / 0.7758 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/1.113, allocations: 71.98 kB / 0.7758 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005916/1.119, allocations: 1.999 MB / 0.7778 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000494/1.119, allocations: 291.2 kB / 0.7781 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000711/1.12, allocations: 434.1 kB / 0.7785 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00404/1.124, allocations: 1.87 MB / 0.7803 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.124, allocations: 4 kB / 0.7803 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.284e-06/1.124, allocations: 0 / 0.7803 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.562e-05/1.124, allocations: 3.938 kB / 0.7803 GB, free: 4.172 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002971/1.127, allocations: 1.161 MB / 0.7814 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/1.127, allocations: 8.031 kB / 0.7814 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/1.128, allocations: 102.5 kB / 0.7815 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00347/1.131, allocations: 258.8 kB / 0.7818 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/1.133, allocations: 0.5792 MB / 0.7824 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.519e-05/1.133, allocations: 49.3 kB / 0.7824 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/1.133, allocations: 59.91 kB / 0.7825 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/1.135, allocations: 0.6362 MB / 0.7831 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/1.135, allocations: 0 / 0.7831 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.079e-05/1.135, allocations: 20 kB / 0.7831 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.732e-05/1.135, allocations: 26.06 kB / 0.7831 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/1.136, allocations: 0.5204 MB / 0.7836 GB, free: 0.6523 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004877/1.141, allocations: 2.441 MB / 0.786 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.142, allocations: 375.7 kB / 0.7864 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000657/1.143, allocations: 235.4 kB / 0.7866 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000913/1.144, allocations: 311.5 kB / 0.7869 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.144, allocations: 38.89 kB / 0.7869 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 3.607e-06/1.144, allocations: 0 / 0.7869 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.002368/1.147, allocations: 0.6161 MB / 0.7875 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/1.147, allocations: 59.34 kB / 0.7876 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/1.148, allocations: 0.495 MB / 0.7881 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/1.148, allocations: 29.7 kB / 0.7881 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/1.148, allocations: 328.5 kB / 0.7884 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/1.148, allocations: 142 kB / 0.7886 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/1.148, allocations: 90.03 kB / 0.7886 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002137/1.149, allocations: 362.8 kB / 0.789 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/1.149, allocations: 174.5 kB / 0.7891 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/1.15, allocations: 295.3 kB / 0.7894 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.151, allocations: 445 kB / 0.7899 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.151, allocations: 0 / 0.7899 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001559/1.153, allocations: 0.525 MB / 0.7904 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.153, allocations: 8 kB / 0.7904 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.153, allocations: 0 / 0.7904 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/1.153, allocations: 4 kB / 0.7904 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/1.154, allocations: 143.3 kB / 0.7905 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000554/1.155, allocations: 0.5977 MB / 0.7911 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.156, allocations: 75.52 kB / 0.7912 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/1.156, allocations: 23.94 kB / 0.7912 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009286/1.157, allocations: 352.8 kB / 0.7915 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000691/1.158, allocations: 284.3 kB / 0.7918 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001215/1.159, allocations: 451.1 kB / 0.7922 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/1.159, allocations: 0 / 0.7922 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001532/1.16, allocations: 0.52 MB / 0.7927 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.16, allocations: 8 kB / 0.7927 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.161, allocations: 288 / 0.7927 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/1.161, allocations: 12 kB / 0.7928 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/1.161, allocations: 111.9 kB / 0.7929 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.161, allocations: 4 kB / 0.7929 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.163, allocations: 71.64 kB / 0.7929 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/1.163, allocations: 16 kB / 0.793 GB, free: 6.582 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00031/1.163, allocations: 212.5 kB / 0.7932 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/1.163, allocations: 59.28 kB / 0.7932 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/1.165, allocations: 498.2 kB / 0.7937 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.165, allocations: 4 kB / 0.7937 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.165, allocations: 0 / 0.7937 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001408/1.166, allocations: 0.6949 MB / 0.7944 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/1.17, allocations: 1.278 MB / 0.7956 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.17, allocations: 0 / 0.7956 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/1.171, allocations: 133 kB / 0.7957 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/1.171, allocations: 4 kB / 0.7957 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/1.171, allocations: 16 kB / 0.7958 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004571/1.171, allocations: 0.586 MB / 0.7963 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.171, allocations: 3.984 kB / 0.7963 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/1.173, allocations: 0.8335 MB / 0.7972 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/1.174, allocations: 184.2 kB / 0.7973 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/1.174, allocations: 16.86 kB / 0.7973 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008431/1.175, allocations: 39.97 kB / 0.7974 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.175, allocations: 31.89 kB / 0.7974 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/1.175, allocations: 16 kB / 0.7974 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000627/1.176, allocations: 350.8 kB / 0.7978 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.765e-06/1.176, allocations: 0 / 0.7978 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001638/1.177, allocations: 371 kB / 0.7981 GB, free: 1.039 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003042/1.18, allocations: 1.471 MB / 0.7996 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002599/1.183, allocations: 0.7083 MB / 0.8002 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/1.183, allocations: 0 / 0.8002 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007165/1.184, allocations: 223.9 kB / 0.8005 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/1.187, allocations: 364 kB / 0.8008 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/1.199, allocations: 5.349 MB / 0.806 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008251/1.2, allocations: 0.9458 MB / 0.807 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001365/1.201, allocations: 208.9 kB / 0.8072 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/1.201, allocations: 227.4 kB / 0.8074 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/1.202, allocations: 4 kB / 0.8074 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.226/2.428, allocations: 17.52 MB / 0.8245 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000337/2.428, allocations: 255.4 kB / 0.8247 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.79/6.218, allocations: 4 kB / 0.8247 GB, free: 5.902 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)