Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.001111/0.001111, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001601/0.001601, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00057/0.0005701, allocations: 12.84 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.252, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002049/0.2542, allocations: 1.348 MB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.256, allocations: 1.297 MB / 0.79 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.2561, allocations: 4 kB / 0.79 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.2565, allocations: 51.83 kB / 0.7901 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.2567, allocations: 47.77 kB / 0.7901 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.2569, allocations: 63.91 kB / 0.7902 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.2571, allocations: 139.6 kB / 0.7903 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.2572, allocations: 8.219 kB / 0.7903 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.2573, allocations: 55.77 kB / 0.7904 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.2575, allocations: 70.19 kB / 0.7904 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.2575, allocations: 4 kB / 0.7904 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.2576, allocations: 67.89 kB / 0.7905 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.2577, allocations: 35.91 kB / 0.7905 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.2577, allocations: 41.64 kB / 0.7906 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.2579, allocations: 140 kB / 0.7907 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.258, allocations: 0 / 0.7907 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.785e-06/0.258, allocations: 0 / 0.7907 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.258, allocations: 0 / 0.7907 GB, free: 8.422 MB / 0.6075 GB 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.0006381/0.2586, allocations: 458.5 kB / 0.7911 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2587, allocations: 8.031 kB / 0.7911 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.2587, allocations: 42.56 kB / 0.7912 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.2588, allocations: 19.77 kB / 0.7912 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.2591, allocations: 250.5 kB / 0.7914 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.2592, allocations: 4 kB / 0.7914 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.2592, allocations: 8 kB / 0.7915 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.2594, allocations: 115.3 kB / 0.7916 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2594, allocations: 0 / 0.7916 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2595, allocations: 0 / 0.7916 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2595, allocations: 7.938 kB / 0.7916 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.2597, allocations: 143.8 kB / 0.7917 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.26, allocations: 229.5 kB / 0.7919 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.2603, allocations: 166.6 kB / 0.7921 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.2604, allocations: 60.77 kB / 0.7921 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.2605, allocations: 4 kB / 0.7921 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.2607, allocations: 118.7 kB / 0.7923 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.2607, allocations: 0 / 0.7923 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004459/0.2612, allocations: 217.5 kB / 0.7925 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.2612, allocations: 85.09 kB / 0.7925 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.2614, allocations: 210.6 kB / 0.7927 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.2615, allocations: 29.7 kB / 0.7928 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.2616, allocations: 116.1 kB / 0.7929 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.2616, allocations: 47.36 kB / 0.7929 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.2616, allocations: 0 / 0.7929 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2618, allocations: 326.8 kB / 0.7932 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.872e-05/0.2619, allocations: 47.97 kB / 0.7933 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.262, allocations: 73.36 kB / 0.7934 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.2621, allocations: 55.98 kB / 0.7934 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2621, allocations: 8.141 kB / 0.7934 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002869/0.2624, allocations: 197.3 kB / 0.7936 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2624, allocations: 4 kB / 0.7936 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.2624, allocations: 0 / 0.7936 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2624, allocations: 4 kB / 0.7936 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2626, allocations: 23.98 kB / 0.7936 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2626, allocations: 0 / 0.7936 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.2626, allocations: 7.938 kB / 0.7936 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.2627, allocations: 7.953 kB / 0.7937 GB, free: 5.141 MB / 0.6075 GB 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.0001214/0.2628, allocations: 150.4 kB / 0.7938 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.2628, allocations: 11.81 kB / 0.7938 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.466e-05/0.2629, allocations: 29.52 kB / 0.7938 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2629, allocations: 0 / 0.7938 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2629, allocations: 0 / 0.7938 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.2629, allocations: 11.97 kB / 0.7938 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.2631, allocations: 241.4 kB / 0.7941 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.2632, allocations: 0 / 0.7941 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/0.2632, allocations: 19.98 kB / 0.7941 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2632, allocations: 4 kB / 0.7941 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.2633, allocations: 8 kB / 0.7941 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2633, allocations: 0 / 0.7941 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2633, allocations: 0 / 0.7941 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.2636, allocations: 211.8 kB / 0.7943 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.2637, allocations: 96.91 kB / 0.7944 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.2637, allocations: 8 kB / 0.7944 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.2637, allocations: 4 kB / 0.7944 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.2638, allocations: 11.98 kB / 0.7944 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.2638, allocations: 4 kB / 0.7944 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001553/0.264, allocations: 164 kB / 0.7946 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.264, allocations: 0 / 0.7946 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002529/0.2642, allocations: 36 kB / 0.7946 GB, free: 4.055 MB / 0.6075 GB 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001457/0.2657, allocations: 1.103 MB / 0.7957 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.266, allocations: 123.5 kB / 0.7958 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.266, allocations: 0 / 0.7958 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.2661, allocations: 63.97 kB / 0.7959 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.2664, allocations: 31.98 kB / 0.7959 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.2679, allocations: 1 MB / 0.7969 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.2682, allocations: 0.7202 MB / 0.7976 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.2683, allocations: 53.64 kB / 0.7976 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.2684, allocations: 59.41 kB / 0.7977 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2684, allocations: 0 / 0.7977 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.2861, allocations: 4.159 MB / 0.8018 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/0.2864, allocations: 264 kB / 0.802 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.193, allocations: 0 / 0.802 GB, free: 12.7 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) Environment - environmentSimulation: