Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_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.001263/0.001263, allocations: 102.8 kB / 15.98 MB, free: 6.348 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.001286/0.001286, allocations: 197.7 kB / 16.91 MB, free: 6.199 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.241/1.241, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6506/0.6506, allocations: 115.3 MB / 406.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2685, allocations: 76.17 MB / 0.556 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.0114/0.2799, allocations: 14.35 MB / 0.57 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003814/0.2838, allocations: 3.617 MB / 0.5736 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.2841, allocations: 20.69 kB / 0.5736 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004798/0.2846, allocations: 168.2 kB / 0.5737 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000984/0.2856, allocations: 0.5416 MB / 0.5743 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.2863, allocations: 365.1 kB / 0.5746 GB, free: 21.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000953/0.2872, allocations: 1.1 MB / 0.5757 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.2876, allocations: 314.3 kB / 0.576 GB, free: 21.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007075/0.2883, allocations: 388.8 kB / 0.5764 GB, free: 21.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/0.2886, allocations: 315.4 kB / 0.5767 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.731e-05/0.2887, allocations: 32.69 kB / 0.5767 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.2891, allocations: 263.5 kB / 0.5769 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.417e-05/0.2892, allocations: 97.83 kB / 0.577 GB, free: 20.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.2893, allocations: 210.8 kB / 0.5772 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005902/0.2899, allocations: 0.5822 MB / 0.5778 GB, free: 20.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2899, allocations: 1.219 kB / 0.5778 GB, free: 20.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2899, allocations: 0 / 0.5778 GB, free: 20.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.912e-06/0.29, allocations: 0.5938 kB / 0.5778 GB, free: 20.51 MB / 446.1 MB 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.0009027/0.2909, allocations: 0.754 MB / 0.5785 GB, free: 19.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.2909, allocations: 9.438 kB / 0.5786 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.687e-05/0.291, allocations: 61.83 kB / 0.5786 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.2911, allocations: 47.39 kB / 0.5787 GB, free: 19.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.2917, allocations: 477.1 kB / 0.5791 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2917, allocations: 23.5 kB / 0.5791 GB, free: 19.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.2918, allocations: 30.53 kB / 0.5792 GB, free: 19.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.2923, allocations: 310.8 kB / 0.5795 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2923, allocations: 4.844 kB / 0.5795 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.2924, allocations: 14.73 kB / 0.5795 GB, free: 19.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.2924, allocations: 6.875 kB / 0.5795 GB, free: 19.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/0.2928, allocations: 196.4 kB / 0.5797 GB, free: 19.23 MB / 446.1 MB 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.001339/0.2941, allocations: 1.473 MB / 0.5811 GB, free: 18.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.2945, allocations: 159.2 kB / 0.5813 GB, free: 17.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.2947, allocations: 65.22 kB / 0.5813 GB, free: 17.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.2948, allocations: 86.34 kB / 0.5814 GB, free: 17.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.295, allocations: 127.5 kB / 0.5815 GB, free: 17.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.2951, allocations: 0.5938 kB / 0.5815 GB, free: 17.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005507/0.2956, allocations: 252 kB / 0.5818 GB, free: 17.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.2957, allocations: 55.47 kB / 0.5818 GB, free: 17.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.2959, allocations: 336.3 kB / 0.5821 GB, free: 17.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.296, allocations: 31.98 kB / 0.5822 GB, free: 17.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.669e-05/0.2961, allocations: 216 kB / 0.5824 GB, free: 17.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.2961, allocations: 55.38 kB / 0.5824 GB, free: 17.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.2962, allocations: 57.69 kB / 0.5825 GB, free: 17.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.2962, allocations: 339.9 kB / 0.5828 GB, free: 16.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.2964, allocations: 69.42 kB / 0.5829 GB, free: 16.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.2966, allocations: 157.1 kB / 0.583 GB, free: 16.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.297, allocations: 245.6 kB / 0.5833 GB, free: 16.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.297, allocations: 2.109 kB / 0.5833 GB, free: 16.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005128/0.2975, allocations: 313.1 kB / 0.5836 GB, free: 16.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.2975, allocations: 35.34 kB / 0.5836 GB, free: 16.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2975, allocations: 2.719 kB / 0.5836 GB, free: 16.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2976, allocations: 8.75 kB / 0.5836 GB, free: 16.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.2978, allocations: 59.25 kB / 0.5837 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2978, allocations: 4.344 kB / 0.5837 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.298, allocations: 42.02 kB / 0.5837 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.2981, allocations: 11.09 kB / 0.5837 GB, free: 16.28 MB / 446.1 MB 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.0001128/0.2982, allocations: 156.8 kB / 0.5839 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.2982, allocations: 36.08 kB / 0.5839 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/0.2986, allocations: 194.4 kB / 0.5841 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2987, allocations: 1.375 kB / 0.5841 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2987, allocations: 5.938 kB / 0.5841 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003499/0.299, allocations: 494.4 kB / 0.5846 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.2994, allocations: 348.2 kB / 0.5849 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2994, allocations: 0 / 0.5849 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.2996, allocations: 33.81 kB / 0.5849 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2996, allocations: 1.125 kB / 0.5849 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.2996, allocations: 6.484 kB / 0.5849 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2996, allocations: 1 kB / 0.5849 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2996, allocations: 1.062 kB / 0.5849 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005308/0.3001, allocations: 290.4 kB / 0.5852 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.3002, allocations: 121.3 kB / 0.5853 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.3003, allocations: 15.69 kB / 0.5853 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.3005, allocations: 20.11 kB / 0.5854 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.3006, allocations: 21.59 kB / 0.5854 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3006, allocations: 7.031 kB / 0.5854 GB, free: 15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.3008, allocations: 236.7 kB / 0.5856 GB, free: 14.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3008, allocations: 0 / 0.5856 GB, free: 14.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.3012, allocations: 116.9 kB / 0.5857 GB, free: 14.84 MB / 446.1 MB 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.0008001/0.302, allocations: 0.8993 MB / 0.5866 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004306/0.3024, allocations: 249.2 kB / 0.5868 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3024, allocations: 1.781 kB / 0.5868 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.3026, allocations: 61.64 kB / 0.5869 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008671/0.3035, allocations: 216.3 kB / 0.5871 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.3069, allocations: 3.149 MB / 0.5902 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.3071, allocations: 0.7906 MB / 0.591 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002388/0.3073, allocations: 64.02 kB / 0.591 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3075, allocations: 118.4 kB / 0.5911 GB, free: 10.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3075, allocations: 0 / 0.5911 GB, free: 10.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.208/0.5155, allocations: 9.707 MB / 0.6006 GB, free: 6.289 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/0.5157, allocations: 185.2 kB / 0.6008 GB, free: 6.039 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.47, allocations: 0 / 0.6008 GB, free: 6.039 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)