Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7385/0.7385, allocations: 127.4 MB / 134.9 MB, free: 3.754 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001127, allocations: 188.8 kB / 164.7 MB, free: 6.543 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.2 MB / 399.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 89.33 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.443e-05/2.424e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1981, allocations: 76.77 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.453/1.651, allocations: 429.7 MB / 1.041 GB, free: 93.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003906/1.652, allocations: 96.12 kB / 1.041 GB, free: 93.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.179/7.831, allocations: 1.297 GB / 2.338 GB, free: 22.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.825e-06/7.831, allocations: 0 / 2.338 GB, free: 22.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00893/7.84, allocations: 0.5439 MB / 2.339 GB, free: 22.92 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1039 * Number of variables: 1039 Notification: Performance of Generate backend data structure: time 0.08598/7.926, allocations: 25.84 MB / 2.364 GB, free: 7.891 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/7.926, allocations: 14.95 kB / 2.364 GB, free: 7.887 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0197/7.946, allocations: 4.288 MB / 2.368 GB, free: 4.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.35/9.296, allocations: 27.91 MB / 2.396 GB, free: 59.39 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004285/9.297, allocations: 120.5 kB / 2.396 GB, free: 59.39 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002697/9.299, allocations: 240.1 kB / 2.396 GB, free: 59.38 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01519/9.315, allocations: 4.964 MB / 2.401 GB, free: 59.36 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02076/9.336, allocations: 5.353 MB / 2.406 GB, free: 58.54 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004397/9.336, allocations: 16.77 kB / 2.406 GB, free: 58.54 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002156/9.338, allocations: 9.703 kB / 2.406 GB, free: 58.54 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001045/9.339, allocations: 383.7 kB / 2.406 GB, free: 58.53 MB / 0.7294 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.1281/9.467, allocations: 48.76 MB / 2.454 GB, free: 44.81 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/9.478, allocations: 4.252 MB / 2.458 GB, free: 44.77 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004395/9.482, allocations: 2.185 MB / 2.46 GB, free: 44.74 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0657/9.548, allocations: 19.27 MB / 2.479 GB, free: 39.41 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005597/9.554, allocations: 2.118 MB / 2.481 GB, free: 39.29 MB / 0.7294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01361/9.567, allocations: 0.5741 MB / 2.482 GB, free: 39.22 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=302): time 3.807e-05/9.568, allocations: 3.844 kB / 2.482 GB, free: 39.22 MB / 0.7294 GB Notification: Performance of matching and sorting (n=326): time 0.1219/9.69, allocations: 27.42 MB / 2.509 GB, free: 31.71 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/9.69, allocations: 111.9 kB / 2.509 GB, free: 31.61 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.543/11.23, allocations: 72.45 MB / 2.579 GB, free: 26.38 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 0.001478/11.23, allocations: 34.36 kB / 2.579 GB, free: 26.34 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.04057/11.28, allocations: 22.65 MB / 2.602 GB, free: 7.293 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002749/11.28, allocations: 1.091 MB / 2.603 GB, free: 6.438 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/11.28, allocations: 0 / 2.603 GB, free: 6.438 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 0.0006004/11.28, allocations: 475.8 kB / 2.603 GB, free: 6.012 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004585/11.28, allocations: 1.8 MB / 2.605 GB, free: 4.43 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005836/11.29, allocations: 2.838 MB / 2.608 GB, free: 1.48 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03682/11.33, allocations: 6.073 MB / 2.614 GB, free: 15.66 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.052e-05/11.33, allocations: 8 kB / 2.614 GB, free: 15.65 MB / 0.745 GB Notification: Performance of matching and sorting (n=516) (initialization): time 0.05352/11.38, allocations: 11.7 MB / 2.625 GB, free: 5.742 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.01974/11.4, allocations: 44.39 MB / 2.668 GB, free: 8.668 MB / 0.7919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001573/11.4, allocations: 29.97 kB / 2.668 GB, free: 8.641 MB / 0.7919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/11.4, allocations: 60.78 kB / 2.668 GB, free: 8.586 MB / 0.7919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03437/11.44, allocations: 4.224 MB / 2.673 GB, free: 5.754 MB / 0.7919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/11.45, allocations: 5.47 MB / 2.678 GB, free: 0.7969 MB / 0.7919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02578/11.47, allocations: 321.8 kB / 2.678 GB, free: 0.5898 MB / 0.7919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002659/11.48, allocations: 204.9 kB / 2.678 GB, free: 420 kB / 0.7919 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/11.48, allocations: 4 kB / 2.678 GB, free: 416 kB / 0.7919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7937/12.27, allocations: 6.897 MB / 2.685 GB, free: 120 MB / 0.7919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/12.27, allocations: 28.83 kB / 2.685 GB, free: 120 MB / 0.7919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.62e-05/12.27, allocations: 52.47 kB / 2.685 GB, free: 120 MB / 0.7919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007056/12.28, allocations: 1.39 MB / 2.687 GB, free: 120 MB / 0.7919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001478/12.28, allocations: 69 kB / 2.687 GB, free: 120 MB / 0.7919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01934/12.3, allocations: 319 kB / 2.687 GB, free: 120 MB / 0.7919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001979/12.3, allocations: 199.7 kB / 2.687 GB, free: 120 MB / 0.7919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * 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 (516): * Single equations (assignments): 510 * 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.001668/12.3, allocations: 216.4 kB / 2.687 GB, free: 119.9 MB / 0.7919 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05542/12.36, allocations: 10.53 MB / 2.698 GB, free: 119.7 MB / 0.7919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0251/12.38, allocations: 4.09 MB / 2.702 GB, free: 117.9 MB / 0.7919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05419/12.44, allocations: 12.53 MB / 2.714 GB, free: 117.3 MB / 0.7919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.446e-05/12.44, allocations: 42.2 kB / 2.714 GB, free: 117.3 MB / 0.7919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.563e-05/12.44, allocations: 0.5469 kB / 2.714 GB, free: 117.3 MB / 0.7919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0299/12.47, allocations: 6.812 MB / 2.72 GB, free: 117 MB / 0.7919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1495/12.62, allocations: 38.12 MB / 2.758 GB, free: 115.6 MB / 0.7919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/12.62, allocations: 9.438 kB / 2.758 GB, free: 115.6 MB / 0.7919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03084/12.65, allocations: 3.811 MB / 2.761 GB, free: 115.6 MB / 0.7919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.261e-05/12.65, allocations: 27.97 kB / 2.761 GB, free: 115.6 MB / 0.7919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000889/12.65, allocations: 66.42 kB / 2.762 GB, free: 115.6 MB / 0.7919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/12.66, allocations: 5.319 MB / 2.767 GB, free: 112.1 MB / 0.7919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.618e-05/12.66, allocations: 22.42 kB / 2.767 GB, free: 112.1 MB / 0.7919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05738/12.72, allocations: 27.27 MB / 2.793 GB, free: 95.57 MB / 0.7919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02818/12.74, allocations: 8.252 MB / 2.801 GB, free: 93.17 MB / 0.7919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02149/12.77, allocations: 55.58 kB / 2.802 GB, free: 93.17 MB / 0.7919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02051/12.79, allocations: 221.8 kB / 2.802 GB, free: 93.16 MB / 0.7919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001812/12.79, allocations: 266.1 kB / 2.802 GB, free: 93.15 MB / 0.7919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00165/12.79, allocations: 142.3 kB / 2.802 GB, free: 93.15 MB / 0.7919 GB Notification: Performance of sorting global known variables: time 0.1643/12.95, allocations: 57.01 MB / 2.858 GB, free: 91.78 MB / 0.7919 GB Notification: Performance of sort global known variables: time 2.605e-06/12.95, allocations: 0 / 2.858 GB, free: 91.78 MB / 0.7919 GB Notification: Performance of remove unused functions: time 0.05659/13.01, allocations: 9.022 MB / 2.867 GB, free: 86.18 MB / 0.7919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (386): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.06985/13.08, allocations: 24.86 MB / 2.891 GB, free: 66.07 MB / 0.7919 GB Notification: Performance of simCode: created initialization part: time 0.06611/13.15, allocations: 13.36 MB / 2.904 GB, free: 55.59 MB / 0.7919 GB Notification: Performance of simCode: created event and clocks part: time 3.511e-05/13.15, allocations: 5.5 kB / 2.904 GB, free: 55.59 MB / 0.7919 GB Notification: Performance of simCode: created simulation system equations: time 0.04755/13.19, allocations: 6.569 MB / 2.91 GB, free: 50.67 MB / 0.7919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03062/13.22, allocations: 3.142 MB / 2.913 GB, free: 47.89 MB / 0.7919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8614/14.09, allocations: 90.35 MB / 3.002 GB, free: 113.1 MB / 0.8075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04427/14.13, allocations: 19.04 MB / 3.02 GB, free: 111.3 MB / 0.8075 GB Notification: Performance of simCode: alias equations: time 0.1191/14.25, allocations: 36.12 MB / 3.055 GB, free: 107.2 MB / 0.8075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0288/14.28, allocations: 18.62 MB / 3.074 GB, free: 107.2 MB / 0.8075 GB Notification: Performance of SimCode: time 1.984e-06/14.28, allocations: 4 kB / 3.074 GB, free: 107.2 MB / 0.8075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.396/19.67, allocations: 0.6525 GB / 3.726 GB, free: 140 MB / 0.9013 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/19.67, allocations: 216.2 kB / 3.726 GB, free: 139.7 MB / 0.9013 GB Notification: Performance of buildModelFMU: Generate platform static: time 58.32/78, allocations: 0 / 3.726 GB, free: 139.7 MB / 0.9013 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)