Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.367/2.367, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 184 kB / 0.4901 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 223.1 MB / 0.7992 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.00121, allocations: 105.4 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004036, allocations: 13.91 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3576, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.454/1.812, allocations: 482.3 MB / 1.7 GB, free: 13.16 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/1.812, allocations: 99.78 kB / 1.7 GB, free: 13.11 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.73/5.542, allocations: 0.9522 GB / 2.653 GB, free: 102.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.337e-06/5.542, allocations: 1.906 kB / 2.653 GB, free: 102.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005453/5.543, allocations: 134.4 kB / 2.653 GB, free: 102.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.02204/5.565, allocations: 5.313 MB / 2.658 GB, free: 97.52 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/5.565, allocations: 8.031 kB / 2.658 GB, free: 97.51 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003285/5.568, allocations: 0.5473 MB / 2.658 GB, free: 96.97 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004316/5.572, allocations: 0.5912 MB / 2.659 GB, free: 96.38 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01407/5.587, allocations: 4.064 MB / 2.663 GB, free: 92.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/5.587, allocations: 290.1 kB / 2.663 GB, free: 92.02 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/5.589, allocations: 395.8 kB / 2.664 GB, free: 91.64 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/5.603, allocations: 6.019 MB / 2.669 GB, free: 85.36 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/5.603, allocations: 15.78 kB / 2.669 GB, free: 85.34 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000753/5.604, allocations: 167.9 kB / 2.67 GB, free: 85.18 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004325/5.604, allocations: 389.1 kB / 2.67 GB, free: 84.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/5.615, allocations: 5.314 MB / 2.675 GB, free: 79.48 MB / 1.167 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.04259/5.657, allocations: 25.04 MB / 2.7 GB, free: 52.82 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008242/5.665, allocations: 4.487 MB / 2.704 GB, free: 48.39 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02921/5.695, allocations: 12.42 MB / 2.716 GB, free: 34.95 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004599/5.699, allocations: 2.233 MB / 2.718 GB, free: 32.68 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004663/5.704, allocations: 0.6799 MB / 2.719 GB, free: 32 MB / 1.167 GB Notification: Performance of pre-optimization done (n=310): time 2.188e-05/5.704, allocations: 0 / 2.719 GB, free: 32 MB / 1.167 GB Notification: Performance of matching and sorting (n=334): time 0.03554/5.74, allocations: 13.16 MB / 2.732 GB, free: 18.78 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/5.74, allocations: 115.7 kB / 2.732 GB, free: 18.64 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006451/5.746, allocations: 2.805 MB / 2.735 GB, free: 15.86 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001269/5.748, allocations: 93.7 kB / 2.735 GB, free: 15.76 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002202/5.75, allocations: 2.061 MB / 2.737 GB, free: 13.68 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001838/5.752, allocations: 1.159 MB / 2.738 GB, free: 12.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009399/5.753, allocations: 80 kB / 2.738 GB, free: 12.42 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003584/5.753, allocations: 478.5 kB / 2.738 GB, free: 11.95 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003822/5.757, allocations: 1.905 MB / 2.74 GB, free: 10.03 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004402/5.761, allocations: 2.96 MB / 2.743 GB, free: 6.637 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00431/5.766, allocations: 2.426 MB / 2.746 GB, free: 4.199 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.522e-05/5.766, allocations: 8 kB / 2.746 GB, free: 4.191 MB / 1.167 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01205/5.778, allocations: 5.516 MB / 2.751 GB, free: 14.64 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.006233/5.784, allocations: 12.19 MB / 2.763 GB, free: 1.422 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-05/5.784, allocations: 28 kB / 2.763 GB, free: 1.395 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001063/5.784, allocations: 55.98 kB / 2.763 GB, free: 1.34 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.8253/6.609, allocations: 4.219 MB / 2.767 GB, free: 166.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/6.612, allocations: 3.959 MB / 2.771 GB, free: 163.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006775/6.619, allocations: 383 kB / 2.771 GB, free: 163.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/6.62, allocations: 205.3 kB / 2.772 GB, free: 163.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/6.62, allocations: 6.578 kB / 2.772 GB, free: 163.3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01088/6.631, allocations: 5.015 MB / 2.776 GB, free: 163.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.443e-05/6.631, allocations: 28.5 kB / 2.776 GB, free: 163.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.548e-05/6.632, allocations: 50.5 kB / 2.776 GB, free: 163.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00788/6.639, allocations: 1.377 MB / 2.778 GB, free: 163.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001527/6.64, allocations: 64.12 kB / 2.778 GB, free: 163.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006186/6.646, allocations: 383.8 kB / 2.778 GB, free: 163.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001365/6.647, allocations: 199.7 kB / 2.778 GB, free: 163.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00405/6.651, allocations: 1.244 MB / 2.78 GB, free: 163 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/6.653, allocations: 405 kB / 2.78 GB, free: 163 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/6.665, allocations: 5.412 MB / 2.785 GB, free: 162.8 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.281e-05/6.665, allocations: 41.59 kB / 2.785 GB, free: 162.8 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/6.665, allocations: 1.344 kB / 2.785 GB, free: 162.8 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007197/6.672, allocations: 4.283 MB / 2.79 GB, free: 162.5 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02174/6.694, allocations: 11.95 MB / 2.801 GB, free: 161.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.308e-05/6.694, allocations: 17.06 kB / 2.801 GB, free: 161.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03501/6.729, allocations: 3.834 MB / 2.805 GB, free: 161.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.315e-05/6.729, allocations: 30.03 kB / 2.805 GB, free: 161.6 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009707/6.73, allocations: 112.8 kB / 2.805 GB, free: 161.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/6.732, allocations: 3.866 MB / 2.809 GB, free: 158.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/6.732, allocations: 17.06 kB / 2.809 GB, free: 158.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/6.744, allocations: 9.421 MB / 2.818 GB, free: 155.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003692/6.748, allocations: 0.9927 MB / 2.819 GB, free: 155.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/6.749, allocations: 104.5 kB / 2.819 GB, free: 155.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004378/6.754, allocations: 269 kB / 2.819 GB, free: 155.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005677/6.754, allocations: 278.2 kB / 2.82 GB, free: 155.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000491/6.755, allocations: 167.2 kB / 2.82 GB, free: 155.4 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003733/6.759, allocations: 2.111 MB / 2.822 GB, free: 155.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 6.12e-07/6.759, allocations: 0 / 2.822 GB, free: 155.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01233/6.771, allocations: 2.633 MB / 2.825 GB, free: 155.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01822/6.789, allocations: 14.86 MB / 2.839 GB, free: 149 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.06442/6.854, allocations: 11.8 MB / 2.851 GB, free: 148.9 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.841e-05/6.854, allocations: 4.938 kB / 2.851 GB, free: 148.9 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.05324/6.907, allocations: 6.757 MB / 2.857 GB, free: 148.9 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008874/6.916, allocations: 1.575 MB / 2.859 GB, free: 148.9 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03585/6.952, allocations: 35.66 MB / 2.894 GB, free: 121.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004674/6.957, allocations: 3.138 MB / 2.897 GB, free: 120.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01154/6.968, allocations: 2.534 MB / 2.899 GB, free: 120.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005127/6.973, allocations: 2.006 MB / 2.901 GB, free: 120.8 MB / 1.182 GB Notification: Performance of SimCode: time 1.653e-06/6.973, allocations: 1.812 kB / 2.901 GB, free: 120.8 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2052/7.179, allocations: 125.3 MB / 3.023 GB, free: 114.7 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/7.179, allocations: 281 kB / 3.024 GB, free: 114.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/14.22, allocations: 0 / 3.024 GB, free: 114.4 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)