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.317/2.317, allocations: 387.1 MB / 399.7 MB, free: 9.43 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.001141/0.001141, allocations: 168.9 kB / 492.3 MB, free: 0.6055 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.664/1.664, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001001/0.001001, allocations: 91.91 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.001e-05/4.003e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3153, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.394/1.709, allocations: 481.4 MB / 1.683 GB, free: 14.93 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/1.709, allocations: 90.95 kB / 1.683 GB, free: 14.88 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 3.653/5.363, allocations: 0.9502 GB / 2.633 GB, free: 9.234 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.563e-06/5.363, allocations: 0 / 2.633 GB, free: 9.234 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003891/5.363, allocations: 139.8 kB / 2.633 GB, free: 9.098 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.01446/5.378, allocations: 4.659 MB / 2.638 GB, free: 4.375 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/5.378, allocations: 8.031 kB / 2.638 GB, free: 4.367 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001602/5.379, allocations: 0.5394 MB / 2.638 GB, free: 3.82 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/5.382, allocations: 0.5912 MB / 2.639 GB, free: 3.223 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7231/6.105, allocations: 4.038 MB / 2.643 GB, free: 136.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003763/6.106, allocations: 290.3 kB / 2.643 GB, free: 136.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001739/6.107, allocations: 397.1 kB / 2.643 GB, free: 136.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01403/6.121, allocations: 5.949 MB / 2.649 GB, free: 135.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/6.122, allocations: 11.27 kB / 2.649 GB, free: 135.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006568/6.122, allocations: 171.7 kB / 2.649 GB, free: 135.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005516/6.123, allocations: 382.8 kB / 2.65 GB, free: 135.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/6.133, allocations: 5.222 MB / 2.655 GB, free: 135.5 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.05119/6.185, allocations: 25.04 MB / 2.679 GB, free: 122.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007876/6.193, allocations: 4.428 MB / 2.683 GB, free: 122.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004079/6.197, allocations: 2.329 MB / 2.686 GB, free: 122.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02666/6.223, allocations: 12.55 MB / 2.698 GB, free: 117.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003898/6.227, allocations: 2.2 MB / 2.7 GB, free: 117.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003854/6.231, allocations: 0.6768 MB / 2.701 GB, free: 117.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=310): time 1.808e-05/6.231, allocations: 5.438 kB / 2.701 GB, free: 117.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=334): time 0.03371/6.265, allocations: 11.46 MB / 2.712 GB, free: 115.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/6.265, allocations: 115.8 kB / 2.712 GB, free: 115.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006732/6.272, allocations: 2.76 MB / 2.715 GB, free: 115.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001328/6.273, allocations: 95.7 kB / 2.715 GB, free: 115.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002364/6.276, allocations: 2.064 MB / 2.717 GB, free: 115 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001872/6.278, allocations: 1.156 MB / 2.718 GB, free: 114.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009202/6.278, allocations: 84.28 kB / 2.718 GB, free: 114.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003573/6.279, allocations: 468.1 kB / 2.719 GB, free: 114.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/6.283, allocations: 1.872 MB / 2.72 GB, free: 114 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004505/6.287, allocations: 2.914 MB / 2.723 GB, free: 112.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004545/6.292, allocations: 2.399 MB / 2.726 GB, free: 112.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.315e-05/6.292, allocations: 7.406 kB / 2.726 GB, free: 112.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01419/6.306, allocations: 5.441 MB / 2.731 GB, free: 112.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002729/6.309, allocations: 12.2 MB / 2.743 GB, free: 99.75 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.278e-05/6.309, allocations: 27.47 kB / 2.743 GB, free: 99.75 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/6.309, allocations: 53.08 kB / 2.743 GB, free: 99.75 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03387/6.343, allocations: 4.211 MB / 2.747 GB, free: 99.75 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/6.346, allocations: 3.961 MB / 2.751 GB, free: 96.23 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006355/6.352, allocations: 390.5 kB / 2.751 GB, free: 96.22 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/6.353, allocations: 203.3 kB / 2.751 GB, free: 96.22 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/6.353, allocations: 3.312 kB / 2.751 GB, free: 96.22 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01128/6.365, allocations: 4.932 MB / 2.756 GB, free: 96.13 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-05/6.365, allocations: 29.69 kB / 2.756 GB, free: 96.13 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.356e-05/6.365, allocations: 51.31 kB / 2.756 GB, free: 96.13 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006732/6.372, allocations: 1.373 MB / 2.758 GB, free: 96.13 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001291/6.372, allocations: 65.02 kB / 2.758 GB, free: 96.13 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006312/6.378, allocations: 381.4 kB / 2.758 GB, free: 96.12 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/6.379, allocations: 203.1 kB / 2.758 GB, free: 96.12 MB / 1.167 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 () * 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.002113/6.381, allocations: 351.6 kB / 2.759 GB, free: 96.02 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/6.383, allocations: 407.1 kB / 2.759 GB, free: 95.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009389/6.392, allocations: 5.351 MB / 2.764 GB, free: 95.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.811e-05/6.392, allocations: 47.2 kB / 2.764 GB, free: 95.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/6.392, allocations: 0 / 2.764 GB, free: 95.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005993/6.398, allocations: 4.22 MB / 2.768 GB, free: 95.26 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02039/6.419, allocations: 11.89 MB / 2.78 GB, free: 94.32 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/6.419, allocations: 13 kB / 2.78 GB, free: 94.32 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0308/6.45, allocations: 3.828 MB / 2.784 GB, free: 94.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.435e-05/6.45, allocations: 31.95 kB / 2.784 GB, free: 94.32 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008421/6.451, allocations: 115.4 kB / 2.784 GB, free: 94.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/6.452, allocations: 3.866 MB / 2.788 GB, free: 90.81 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/6.452, allocations: 18 kB / 2.788 GB, free: 90.81 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/6.464, allocations: 9.334 MB / 2.797 GB, free: 88.11 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003348/6.468, allocations: 0.9866 MB / 2.798 GB, free: 87.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/6.469, allocations: 94.47 kB / 2.798 GB, free: 87.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003962/6.473, allocations: 281.8 kB / 2.798 GB, free: 87.79 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004989/6.473, allocations: 272.9 kB / 2.798 GB, free: 87.78 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004217/6.474, allocations: 168.5 kB / 2.799 GB, free: 87.78 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003076/6.477, allocations: 2.067 MB / 2.801 GB, free: 87.62 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/6.477, allocations: 0 / 2.801 GB, free: 87.62 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01143/6.488, allocations: 2.634 MB / 2.803 GB, free: 87.62 MB / 1.167 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) * 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.01611/6.504, allocations: 14.71 MB / 2.818 GB, free: 81.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.05784/6.562, allocations: 11.8 MB / 2.829 GB, free: 81.19 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.571e-05/6.562, allocations: 7.656 kB / 2.829 GB, free: 81.19 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.04845/6.611, allocations: 6.716 MB / 2.836 GB, free: 81.17 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009764/6.621, allocations: 1.581 MB / 2.837 GB, free: 81.16 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/6.646, allocations: 10.52 MB / 2.847 GB, free: 79 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/6.648, allocations: 3.149 MB / 2.851 GB, free: 78.19 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0104/6.659, allocations: 2.951 MB / 2.853 GB, free: 78.13 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003825/6.663, allocations: 1.955 MB / 2.855 GB, free: 78.13 MB / 1.167 GB Notification: Performance of SimCode: time 1.252e-06/6.663, allocations: 1.781 kB / 2.855 GB, free: 78.13 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2107/6.873, allocations: 133 MB / 2.985 GB, free: 46.53 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/6.874, allocations: 238.2 kB / 2.985 GB, free: 46.21 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.259/14.13, allocations: 2.031 kB / 2.985 GB, free: 46.21 MB / 1.167 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)