Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.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.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater",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.001486/0.001486, allocations: 100.7 kB / 16.27 MB, free: 5.93 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.001709/0.001709, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7319/0.7319, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 68.14 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2892, allocations: 77.92 MB / 0.5673 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002115/0.2914, allocations: 1.381 MB / 0.5686 GB, free: 31.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.2941, allocations: 2.895 MB / 0.5714 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.2941, allocations: 0 / 0.5714 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.956e-05/0.2942, allocations: 8.016 kB / 0.5715 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.719e-05/0.2943, allocations: 44.03 kB / 0.5715 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.2948, allocations: 184 kB / 0.5717 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.295, allocations: 240.7 kB / 0.5719 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.2951, allocations: 3.609 kB / 0.5719 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.2952, allocations: 98.89 kB / 0.572 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.2953, allocations: 125.2 kB / 0.5721 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.2953, allocations: 11.06 kB / 0.5721 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.2957, allocations: 143.7 kB / 0.5723 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.2958, allocations: 92.92 kB / 0.5724 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.198e-05/0.2959, allocations: 92.73 kB / 0.5724 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.2962, allocations: 272.7 kB / 0.5727 GB, free: 29.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2962, allocations: 1.281 kB / 0.5727 GB, free: 29.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2962, allocations: 1.062 kB / 0.5727 GB, free: 29.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.2962, allocations: 0 / 0.5727 GB, free: 29.29 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007236/0.297, allocations: 0.5224 MB / 0.5732 GB, free: 28.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.297, allocations: 10.25 kB / 0.5732 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.2971, allocations: 52.52 kB / 0.5733 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.2972, allocations: 19.89 kB / 0.5733 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.2974, allocations: 235.4 kB / 0.5735 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.2974, allocations: 28.77 kB / 0.5735 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.2974, allocations: 14.78 kB / 0.5736 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.2981, allocations: 294.6 kB / 0.5738 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2981, allocations: 0 / 0.5738 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.2981, allocations: 6 kB / 0.5738 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2981, allocations: 3.844 kB / 0.5739 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.2996, allocations: 0.7513 MB / 0.5746 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.2999, allocations: 306.5 kB / 0.5749 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.3016, allocations: 0.6862 MB / 0.5755 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.3021, allocations: 228.7 kB / 0.5758 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003298/0.3024, allocations: 392.8 kB / 0.5761 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.3024, allocations: 33.53 kB / 0.5762 GB, free: 27.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 1.552e-06/0.3024, allocations: 0.9062 kB / 0.5762 GB, free: 27.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001639/0.3041, allocations: 0.6553 MB / 0.5768 GB, free: 27.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.3041, allocations: 56.45 kB / 0.5769 GB, free: 27.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.04e-05/0.3042, allocations: 129.6 kB / 0.577 GB, free: 27.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3042, allocations: 36.36 kB / 0.577 GB, free: 27.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.39e-05/0.3043, allocations: 89.02 kB / 0.5771 GB, free: 27.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.3043, allocations: 125.2 kB / 0.5772 GB, free: 27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/0.3044, allocations: 66.58 kB / 0.5773 GB, free: 26.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.3045, allocations: 330.2 kB / 0.5776 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/0.305, allocations: 192.2 kB / 0.5778 GB, free: 26.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.3054, allocations: 203.1 kB / 0.578 GB, free: 26.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009095/0.3064, allocations: 360.9 kB / 0.5783 GB, free: 26.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3064, allocations: 0 / 0.5783 GB, free: 26.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001032/0.3074, allocations: 471.8 kB / 0.5788 GB, free: 26.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3074, allocations: 10.28 kB / 0.5788 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3074, allocations: 0 / 0.5788 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3075, allocations: 3.438 kB / 0.5788 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.3078, allocations: 92.08 kB / 0.5789 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3078, allocations: 2.594 kB / 0.5789 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.308, allocations: 55.42 kB / 0.5789 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.308, allocations: 12.77 kB / 0.5789 GB, free: 26.28 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 0.0001053/0.3081, allocations: 145.5 kB / 0.5791 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.3082, allocations: 19.69 kB / 0.5791 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.3093, allocations: 0.5107 MB / 0.5796 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3093, allocations: 4.656 kB / 0.5796 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3093, allocations: 0 / 0.5796 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3093, allocations: 3.938 kB / 0.5796 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.3096, allocations: 314.6 kB / 0.5799 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3096, allocations: 4.438 kB / 0.5799 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.3099, allocations: 98.5 kB / 0.58 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3099, allocations: 1.375 kB / 0.58 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.3099, allocations: 15.67 kB / 0.58 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3099, allocations: 3.188 kB / 0.58 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3099, allocations: 1.281 kB / 0.58 GB, free: 25.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.311, allocations: 0.4895 MB / 0.5805 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.311, allocations: 102 kB / 0.5806 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.311, allocations: 7.25 kB / 0.5806 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3112, allocations: 37.36 kB / 0.5806 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.3114, allocations: 116.7 kB / 0.5808 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.3114, allocations: 23.25 kB / 0.5808 GB, free: 25.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.69e-05/0.3115, allocations: 96.17 kB / 0.5809 GB, free: 25.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3115, allocations: 0.6562 kB / 0.5809 GB, free: 25.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003698/0.3119, allocations: 119 kB / 0.581 GB, free: 25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.001368/0.3132, allocations: 1.118 MB / 0.5821 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.3144, allocations: 0.5491 MB / 0.5826 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3144, allocations: 1.312 kB / 0.5826 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005038/0.3149, allocations: 260.9 kB / 0.5829 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.3153, allocations: 80.17 kB / 0.5829 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.3187, allocations: 2.676 MB / 0.5856 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.3189, allocations: 0.7304 MB / 0.5863 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003844/0.3193, allocations: 180.9 kB / 0.5864 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.3194, allocations: 68.11 kB / 0.5865 GB, free: 21.19 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3194, allocations: 0 / 0.5865 GB, free: 21.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8321/1.151, allocations: 7.367 MB / 0.5937 GB, free: 15.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.09/18.24, allocations: 8.922 kB / 0.5937 GB, free: 15.44 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > IBPSA_latest_IBPSA.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1)