Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.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.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",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.007768/0.007768, allocations: 100.8 kB / 15.73 MB, free: 6.051 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.001876/0.001877, allocations: 197.2 kB / 16.67 MB, free: 5.977 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8236/0.8236, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 62.88 kB / 0.5808 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.172, allocations: 80.2 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01731/0.1893, allocations: 14.45 MB / 0.6733 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005545/0.1949, allocations: 3.632 MB / 0.6768 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007636/0.1957, allocations: 15.94 kB / 0.6768 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008249/0.1966, allocations: 198.7 kB / 0.677 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.1985, allocations: 0.5885 MB / 0.6776 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1996, allocations: 406.1 kB / 0.678 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001545/0.2012, allocations: 1.087 MB / 0.6791 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005911/0.2018, allocations: 323.4 kB / 0.6794 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.2031, allocations: 396.6 kB / 0.6797 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005619/0.2037, allocations: 310.6 kB / 0.68 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/0.2038, allocations: 36 kB / 0.6801 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006085/0.2044, allocations: 255.5 kB / 0.6803 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.2045, allocations: 99.66 kB / 0.6804 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.2048, allocations: 215 kB / 0.6806 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009181/0.2057, allocations: 0.5967 MB / 0.6812 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2058, allocations: 0 / 0.6812 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2058, allocations: 0 / 0.6812 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.2058, allocations: 0 / 0.6812 GB, free: 7.398 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001375/0.2072, allocations: 0.7534 MB / 0.6819 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2072, allocations: 12.03 kB / 0.6819 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.888e-05/0.2073, allocations: 58.73 kB / 0.682 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.2075, allocations: 48.45 kB / 0.6821 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008495/0.2084, allocations: 466.6 kB / 0.6825 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.2084, allocations: 20.56 kB / 0.6825 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.2085, allocations: 31.91 kB / 0.6825 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.2091, allocations: 306.2 kB / 0.6828 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2091, allocations: 4 kB / 0.6828 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.2091, allocations: 8 kB / 0.6828 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.2092, allocations: 8 kB / 0.6829 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.2097, allocations: 194 kB / 0.683 GB, free: 5.395 MB / 0.5137 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.001889/0.2116, allocations: 1.485 MB / 0.6845 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.212, allocations: 150.6 kB / 0.6846 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.2122, allocations: 68.81 kB / 0.6847 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.2123, allocations: 85.11 kB / 0.6848 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.2127, allocations: 138.2 kB / 0.6849 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.2127, allocations: 0 / 0.6849 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006342/0.2133, allocations: 233 kB / 0.6851 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.2134, allocations: 55.41 kB / 0.6852 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.2137, allocations: 353.7 kB / 0.6855 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.2138, allocations: 33.7 kB / 0.6856 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.2139, allocations: 211.8 kB / 0.6858 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.214, allocations: 59.12 kB / 0.6858 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.2141, allocations: 49.7 kB / 0.6859 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2142, allocations: 350.7 kB / 0.6862 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.2144, allocations: 71.95 kB / 0.6863 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.2146, allocations: 142.6 kB / 0.6864 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.2151, allocations: 245.2 kB / 0.6866 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2151, allocations: 0 / 0.6866 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005822/0.2157, allocations: 318.5 kB / 0.6869 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.2157, allocations: 37.69 kB / 0.687 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2157, allocations: 4.312 kB / 0.687 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2158, allocations: 8 kB / 0.687 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.216, allocations: 59.91 kB / 0.687 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.216, allocations: 4 kB / 0.6871 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.2162, allocations: 31.77 kB / 0.6871 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.2163, allocations: 8 kB / 0.6871 GB, free: 0.9414 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001644/0.2165, allocations: 166.3 kB / 0.6872 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.2165, allocations: 39.56 kB / 0.6873 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004584/0.217, allocations: 196.5 kB / 0.6875 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.217, allocations: 4 kB / 0.6875 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.217, allocations: 0 / 0.6875 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005063/0.2175, allocations: 486.8 kB / 0.6879 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.2179, allocations: 357.3 kB / 0.6883 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.218, allocations: 3.938 kB / 0.6883 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.2181, allocations: 35.92 kB / 0.6883 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2181, allocations: 0 / 0.6883 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.2182, allocations: 11.98 kB / 0.6883 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2182, allocations: 0 / 0.6883 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2182, allocations: 0 / 0.6883 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006104/0.2188, allocations: 276.6 kB / 0.6886 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.2189, allocations: 124.7 kB / 0.6887 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.219, allocations: 7.984 kB / 0.6887 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.2192, allocations: 15.98 kB / 0.6887 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.2193, allocations: 15.92 kB / 0.6888 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.2193, allocations: 15.98 kB / 0.6888 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002458/0.2195, allocations: 247.2 kB / 0.689 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2196, allocations: 3.938 kB / 0.689 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004273/0.22, allocations: 127.9 kB / 0.6891 GB, free: 14.66 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001102/0.2211, allocations: 0.897 MB / 0.69 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004822/0.2216, allocations: 235.1 kB / 0.6902 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2216, allocations: 0 / 0.6902 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.2218, allocations: 75.12 kB / 0.6903 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009575/0.2228, allocations: 216.6 kB / 0.6905 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.2268, allocations: 3.066 MB / 0.6935 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2271, allocations: 0.7879 MB / 0.6943 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002494/0.2274, allocations: 67.22 kB / 0.6943 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.2276, allocations: 127.3 kB / 0.6945 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.2276, allocations: 0 / 0.6945 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.2585, allocations: 10.36 MB / 0.7046 GB, free: 14.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.45, allocations: 18.36 kB / 0.7046 GB, free: 14.85 MB / 0.545 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)