Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 182.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5084/0.5084, allocations: 91.97 MB / 108.5 MB, free: 13.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.2 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 95.19 kB / 427.4 MB, free: 3.918 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 12 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1548, allocations: 72.31 MB / 0.569 GB, free: 1.812 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5183/0.6732, allocations: 105.3 MB / 0.6718 GB, free: 15.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.6736, allocations: 91.94 kB / 0.6719 GB, free: 15.01 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01599/0.6896, allocations: 5.593 MB / 0.6773 GB, free: 9.426 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6896, allocations: 0 / 0.6773 GB, free: 9.426 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.6897, allocations: 4 kB / 0.6773 GB, free: 9.422 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007933/0.6905, allocations: 470.9 kB / 0.6778 GB, free: 8.914 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.6905, allocations: 8.031 kB / 0.6778 GB, free: 8.906 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.888e-05/0.6906, allocations: 42.55 kB / 0.6778 GB, free: 8.855 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.6907, allocations: 19.81 kB / 0.6778 GB, free: 8.836 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.6911, allocations: 250.7 kB / 0.6781 GB, free: 8.551 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.6912, allocations: 3.984 kB / 0.6781 GB, free: 8.547 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.6912, allocations: 4 kB / 0.6781 GB, free: 8.543 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.6915, allocations: 127.3 kB / 0.6782 GB, free: 8.406 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6915, allocations: 0 / 0.6782 GB, free: 8.406 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.6915, allocations: 3.953 kB / 0.6782 GB, free: 8.402 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.6915, allocations: 4 kB / 0.6782 GB, free: 8.398 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.6919, allocations: 199.7 kB / 0.6784 GB, free: 8.203 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.6922, allocations: 249.5 kB / 0.6786 GB, free: 7.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.6927, allocations: 214.4 kB / 0.6789 GB, free: 7.691 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.6928, allocations: 7.984 kB / 0.6789 GB, free: 7.684 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.693, allocations: 123.3 kB / 0.679 GB, free: 7.551 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 2.274e-06/0.693, allocations: 0 / 0.679 GB, free: 7.551 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005672/0.6936, allocations: 264.6 kB / 0.6792 GB, free: 7.289 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.6937, allocations: 85.05 kB / 0.6793 GB, free: 7.188 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.694, allocations: 226.3 kB / 0.6795 GB, free: 6.953 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.694, allocations: 29.7 kB / 0.6796 GB, free: 6.918 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.6941, allocations: 112.1 kB / 0.6797 GB, free: 6.805 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.6942, allocations: 39.45 kB / 0.6797 GB, free: 6.766 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.6942, allocations: 4 kB / 0.6797 GB, free: 6.762 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6943, allocations: 334.8 kB / 0.68 GB, free: 6.426 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.6944, allocations: 55.97 kB / 0.6801 GB, free: 6.371 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.6946, allocations: 80.23 kB / 0.6802 GB, free: 6.285 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.6947, allocations: 63.97 kB / 0.6802 GB, free: 6.223 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6947, allocations: 0 / 0.6802 GB, free: 6.223 MB / 474.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003672/0.6951, allocations: 217.4 kB / 0.6804 GB, free: 6.004 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.6951, allocations: 8 kB / 0.6804 GB, free: 5.996 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.6951, allocations: 4 kB / 0.6804 GB, free: 5.992 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.6952, allocations: 4 kB / 0.6804 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.6953, allocations: 24.31 kB / 0.6805 GB, free: 5.965 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.6953, allocations: 7.938 kB / 0.6805 GB, free: 5.957 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.098e-05/0.6954, allocations: 19.84 kB / 0.6805 GB, free: 5.938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.6955, allocations: 11.92 kB / 0.6805 GB, free: 5.926 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.6956, allocations: 133.8 kB / 0.6806 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.6956, allocations: 19.81 kB / 0.6806 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005094/0.6962, allocations: 274.6 kB / 0.6809 GB, free: 5.492 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6962, allocations: 4 kB / 0.6809 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6962, allocations: 0 / 0.6809 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.6962, allocations: 3.953 kB / 0.6809 GB, free: 5.484 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.6965, allocations: 277.5 kB / 0.6812 GB, free: 5.164 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6965, allocations: 7.938 kB / 0.6812 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.6966, allocations: 31.98 kB / 0.6812 GB, free: 5.125 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.6966, allocations: 4 kB / 0.6812 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.6967, allocations: 4 kB / 0.6812 GB, free: 5.117 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.6967, allocations: 4 kB / 0.6812 GB, free: 5.113 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6967, allocations: 0 / 0.6812 GB, free: 5.113 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.6971, allocations: 274.2 kB / 0.6815 GB, free: 4.828 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/0.6972, allocations: 108.8 kB / 0.6816 GB, free: 4.703 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.6973, allocations: 8 kB / 0.6816 GB, free: 4.695 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.6974, allocations: 11.98 kB / 0.6816 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.6974, allocations: 15.98 kB / 0.6816 GB, free: 4.668 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.6974, allocations: 4 kB / 0.6816 GB, free: 4.664 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000209/0.6977, allocations: 192.2 kB / 0.6818 GB, free: 4.477 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6977, allocations: 3.938 kB / 0.6818 GB, free: 4.473 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.698, allocations: 51.97 kB / 0.6819 GB, free: 4.422 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001883/0.6999, allocations: 1.171 MB / 0.683 GB, free: 3.406 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003415/0.7002, allocations: 165.8 kB / 0.6832 GB, free: 3.246 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7002, allocations: 0 / 0.6832 GB, free: 3.246 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.7004, allocations: 91.89 kB / 0.6833 GB, free: 3.156 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.7007, allocations: 29.11 kB / 0.6833 GB, free: 3.129 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.7028, allocations: 1.279 MB / 0.6845 GB, free: 1.789 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.7033, allocations: 0.7328 MB / 0.6852 GB, free: 1.031 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.7035, allocations: 53.5 kB / 0.6853 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.7036, allocations: 63.41 kB / 0.6854 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of SimCode: time 8.31e-07/0.7036, allocations: 0 / 0.6854 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.7272, allocations: 4.984 MB / 0.6902 GB, free: 12.13 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.7275, allocations: 241.1 kB / 0.6905 GB, free: 11.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.646, allocations: 0 / 0.6905 GB, free: 11.89 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)