Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001079/0.001079, allocations: 167.4 kB / 498.1 MB, free: 5.766 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.597/1.597, allocations: 223.1 MB / 0.7948 GB, free: 17.97 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.0009897/0.0009898, allocations: 99.83 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003979, allocations: 13.66 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3186, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/1.547, allocations: 481.5 MB / 1.693 GB, free: 12.77 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/1.548, allocations: 97.17 kB / 1.693 GB, free: 12.72 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.427/4.975, allocations: 0.9522 GB / 2.645 GB, free: 120.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.034e-06/4.975, allocations: 0 / 2.645 GB, free: 120.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005709/4.975, allocations: 134.8 kB / 2.646 GB, free: 120.6 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.02051/4.996, allocations: 5.317 MB / 2.651 GB, free: 115.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/4.996, allocations: 8.031 kB / 2.651 GB, free: 115.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003017/4.999, allocations: 0.5488 MB / 2.651 GB, free: 114.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004038/5.003, allocations: 0.5872 MB / 2.652 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/5.016, allocations: 4.065 MB / 2.656 GB, free: 110.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/5.016, allocations: 295.7 kB / 2.656 GB, free: 110 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002023/5.018, allocations: 391.3 kB / 2.656 GB, free: 109.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/5.029, allocations: 6.016 MB / 2.662 GB, free: 103.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/5.03, allocations: 23.77 kB / 2.662 GB, free: 103.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005923/5.03, allocations: 171.9 kB / 2.662 GB, free: 103.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003829/5.031, allocations: 381.8 kB / 2.663 GB, free: 102.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008767/5.039, allocations: 5.32 MB / 2.668 GB, free: 97.52 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.03623/5.076, allocations: 25.04 MB / 2.693 GB, free: 71.14 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007164/5.083, allocations: 4.491 MB / 2.697 GB, free: 66.75 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02544/5.108, allocations: 12.42 MB / 2.709 GB, free: 53.47 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003998/5.112, allocations: 2.224 MB / 2.711 GB, free: 51.21 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004174/5.117, allocations: 0.678 MB / 2.712 GB, free: 50.57 MB / 1.167 GB Notification: Performance of pre-optimization done (n=310): time 2.247e-05/5.117, allocations: 0 / 2.712 GB, free: 50.57 MB / 1.167 GB Notification: Performance of matching and sorting (n=334): time 0.03367/5.15, allocations: 13.17 MB / 2.725 GB, free: 37.35 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/5.15, allocations: 111.7 kB / 2.725 GB, free: 37.22 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006383/5.157, allocations: 2.809 MB / 2.728 GB, free: 34.43 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/5.158, allocations: 93.7 kB / 2.728 GB, free: 34.33 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/5.16, allocations: 2.061 MB / 2.73 GB, free: 32.26 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001717/5.162, allocations: 1.158 MB / 2.731 GB, free: 31.11 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007989/5.163, allocations: 80 kB / 2.731 GB, free: 31.04 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003/5.163, allocations: 474.5 kB / 2.731 GB, free: 30.56 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003429/5.166, allocations: 1.913 MB / 2.733 GB, free: 28.64 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/5.171, allocations: 2.96 MB / 2.736 GB, free: 25.25 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/5.175, allocations: 2.422 MB / 2.738 GB, free: 22.81 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-05/5.175, allocations: 11.94 kB / 2.738 GB, free: 22.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01332/5.188, allocations: 5.523 MB / 2.744 GB, free: 17.25 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005102/5.193, allocations: 12.19 MB / 2.756 GB, free: 4.039 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.655e-05/5.193, allocations: 24 kB / 2.756 GB, free: 4.016 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/5.194, allocations: 52 kB / 2.756 GB, free: 3.965 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03884/5.232, allocations: 4.225 MB / 2.76 GB, free: 15.73 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/5.236, allocations: 3.961 MB / 2.764 GB, free: 11.63 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006796/5.243, allocations: 383.4 kB / 2.764 GB, free: 11.26 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/5.244, allocations: 207.9 kB / 2.764 GB, free: 11.05 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/5.244, allocations: 7.938 kB / 2.764 GB, free: 11.05 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01017/5.254, allocations: 5.007 MB / 2.769 GB, free: 6.02 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-05/5.255, allocations: 28.19 kB / 2.769 GB, free: 5.992 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.083e-05/5.255, allocations: 56 kB / 2.769 GB, free: 5.938 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006532/5.261, allocations: 1.377 MB / 2.771 GB, free: 4.559 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-05/5.261, allocations: 63.78 kB / 2.771 GB, free: 4.496 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005352/5.267, allocations: 375.4 kB / 2.771 GB, free: 4.129 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007137/5.267, allocations: 199.9 kB / 2.771 GB, free: 3.934 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.003545/5.271, allocations: 1.251 MB / 2.773 GB, free: 2.672 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/5.272, allocations: 407 kB / 2.773 GB, free: 2.27 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.79/6.062, allocations: 5.393 MB / 2.778 GB, free: 172.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-05/6.062, allocations: 47.56 kB / 2.778 GB, free: 172.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/6.062, allocations: 0.7969 kB / 2.778 GB, free: 172.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009267/6.072, allocations: 4.273 MB / 2.782 GB, free: 172.6 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02742/6.099, allocations: 11.95 MB / 2.794 GB, free: 171.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/6.099, allocations: 16.67 kB / 2.794 GB, free: 171.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03676/6.136, allocations: 3.839 MB / 2.798 GB, free: 171.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.604e-05/6.136, allocations: 33.56 kB / 2.798 GB, free: 171.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009696/6.137, allocations: 108.5 kB / 2.798 GB, free: 171.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/6.139, allocations: 3.871 MB / 2.802 GB, free: 168.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/6.139, allocations: 18.38 kB / 2.802 GB, free: 168.2 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/6.152, allocations: 9.42 MB / 2.811 GB, free: 165.8 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004915/6.157, allocations: 0.9933 MB / 2.812 GB, free: 165.7 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001847/6.159, allocations: 89.56 kB / 2.812 GB, free: 165.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00573/6.165, allocations: 273.9 kB / 2.812 GB, free: 165.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006655/6.165, allocations: 277.7 kB / 2.813 GB, free: 165.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006697/6.166, allocations: 172.7 kB / 2.813 GB, free: 165.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.005098/6.171, allocations: 2.109 MB / 2.815 GB, free: 165.5 MB / 1.182 GB Notification: Performance of sort global known variables: time 7.11e-07/6.171, allocations: 5.656 kB / 2.815 GB, free: 165.5 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01392/6.185, allocations: 2.626 MB / 2.817 GB, free: 165.5 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.02327/6.208, allocations: 14.87 MB / 2.832 GB, free: 159.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0724/6.281, allocations: 11.8 MB / 2.843 GB, free: 159.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.087e-05/6.281, allocations: 4.969 kB / 2.843 GB, free: 159.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.059/6.34, allocations: 6.756 MB / 2.85 GB, free: 159.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009957/6.35, allocations: 1.567 MB / 2.852 GB, free: 159.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04009/6.39, allocations: 35.67 MB / 2.886 GB, free: 132.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004835/6.395, allocations: 3.144 MB / 2.889 GB, free: 131.3 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01161/6.407, allocations: 2.522 MB / 2.892 GB, free: 131.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004681/6.411, allocations: 2.006 MB / 2.894 GB, free: 131.2 MB / 1.182 GB Notification: Performance of SimCode: time 1.953e-06/6.411, allocations: 0 / 2.894 GB, free: 131.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2145/6.626, allocations: 125.4 MB / 3.016 GB, free: 125.5 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/6.626, allocations: 271.7 kB / 3.017 GB, free: 125.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/13.46, allocations: 0 / 3.017 GB, free: 125.2 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)