Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 289.7 MB / 302.2 MB, free: 2.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 179 kB / 371.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 91.94 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.122e-05/5.143e-05, allocations: 7.984 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.301, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.092/2.393, allocations: 470.9 MB / 1.44 GB, free: 256.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/2.394, allocations: 91.45 kB / 1.44 GB, free: 256.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.686/6.079, allocations: 0.9336 GB / 2.373 GB, free: 69.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.453e-06/6.079, allocations: 3.828 kB / 2.373 GB, free: 69.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007513/6.08, allocations: 135.1 kB / 2.374 GB, free: 69.95 MB / 0.948 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.02209/6.102, allocations: 4.657 MB / 2.378 GB, free: 67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/6.102, allocations: 7.875 kB / 2.378 GB, free: 67 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003552/6.106, allocations: 0.5468 MB / 2.379 GB, free: 66.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/6.111, allocations: 0.5772 MB / 2.379 GB, free: 66.34 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/6.126, allocations: 4.047 MB / 2.383 GB, free: 63.78 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004408/6.126, allocations: 293.6 kB / 2.383 GB, free: 63.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002402/6.129, allocations: 393.5 kB / 2.384 GB, free: 63.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/6.148, allocations: 5.947 MB / 2.39 GB, free: 56.97 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003179/6.148, allocations: 7.938 kB / 2.39 GB, free: 56.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002056/6.15, allocations: 170.9 kB / 2.39 GB, free: 56.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005444/6.151, allocations: 383.1 kB / 2.39 GB, free: 56.44 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01264/6.163, allocations: 5.224 MB / 2.395 GB, free: 51.21 MB / 0.948 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.04547/6.209, allocations: 25.04 MB / 2.42 GB, free: 24.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007619/6.217, allocations: 4.43 MB / 2.424 GB, free: 20.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003723/6.22, allocations: 2.332 MB / 2.426 GB, free: 18.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02438/6.245, allocations: 12.55 MB / 2.439 GB, free: 4.602 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003876/6.249, allocations: 2.198 MB / 2.441 GB, free: 2.367 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003888/6.253, allocations: 0.6698 MB / 2.441 GB, free: 1.699 MB / 0.948 GB Notification: Performance of pre-optimization done (n=310): time 1.797e-05/6.253, allocations: 3.234 kB / 2.441 GB, free: 1.699 MB / 0.948 GB Notification: Performance of matching and sorting (n=334): time 0.03359/6.286, allocations: 11.47 MB / 2.453 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/6.286, allocations: 111.7 kB / 2.453 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007022/6.293, allocations: 2.766 MB / 2.455 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001132/6.295, allocations: 93.7 kB / 2.455 GB, free: 3.195 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002622/6.297, allocations: 2.058 MB / 2.457 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001856/6.299, allocations: 1.154 MB / 2.459 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004161/6.299, allocations: 80 kB / 2.459 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003648/6.3, allocations: 474.5 kB / 2.459 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/6.303, allocations: 1.874 MB / 2.461 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004354/6.308, allocations: 2.909 MB / 2.464 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/6.312, allocations: 2.406 MB / 2.466 GB, free: 7.793 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/6.312, allocations: 8 kB / 2.466 GB, free: 7.785 MB / 0.9792 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01178/6.324, allocations: 5.441 MB / 2.471 GB, free: 2.312 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.7343/7.058, allocations: 12.18 MB / 2.483 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.007e-05/7.058, allocations: 28.25 kB / 2.483 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001135/7.058, allocations: 56.77 kB / 2.483 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03647/7.095, allocations: 4.216 MB / 2.488 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/7.098, allocations: 3.959 MB / 2.491 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006677/7.104, allocations: 386 kB / 2.492 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/7.106, allocations: 201.6 kB / 2.492 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/7.106, allocations: 6.188 kB / 2.492 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01062/7.116, allocations: 4.931 MB / 2.497 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.019e-05/7.116, allocations: 29.78 kB / 2.497 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.555e-05/7.116, allocations: 51.72 kB / 2.497 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007101/7.124, allocations: 1.372 MB / 2.498 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001433/7.124, allocations: 64.72 kB / 2.498 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005853/7.13, allocations: 383 kB / 2.499 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007652/7.13, allocations: 202.3 kB / 2.499 GB, free: 100.6 MB / 0.9792 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.001485/7.132, allocations: 358.6 kB / 2.499 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/7.133, allocations: 400.1 kB / 2.5 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/7.143, allocations: 5.351 MB / 2.505 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.112e-05/7.143, allocations: 43.05 kB / 2.505 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/7.143, allocations: 0.5 kB / 2.505 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005881/7.149, allocations: 4.217 MB / 2.509 GB, free: 99.94 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/7.169, allocations: 11.89 MB / 2.521 GB, free: 99.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/7.17, allocations: 12.47 kB / 2.521 GB, free: 99.05 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03128/7.201, allocations: 3.832 MB / 2.524 GB, free: 99.05 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.765e-05/7.201, allocations: 28.22 kB / 2.524 GB, free: 99.05 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000765/7.202, allocations: 108.9 kB / 2.524 GB, free: 99.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/7.204, allocations: 3.867 MB / 2.528 GB, free: 95.55 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/7.204, allocations: 18.36 kB / 2.528 GB, free: 95.55 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/7.215, allocations: 9.334 MB / 2.537 GB, free: 93.08 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002977/7.218, allocations: 0.9873 MB / 2.538 GB, free: 92.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007666/7.219, allocations: 93.02 kB / 2.538 GB, free: 92.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003041/7.222, allocations: 277.5 kB / 2.539 GB, free: 92.85 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/7.223, allocations: 277.7 kB / 2.539 GB, free: 92.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003419/7.223, allocations: 171.3 kB / 2.539 GB, free: 92.84 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003048/7.226, allocations: 2.064 MB / 2.541 GB, free: 92.68 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.71e-07/7.226, allocations: 0 / 2.541 GB, free: 92.68 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008762/7.235, allocations: 2.638 MB / 2.544 GB, free: 92.68 MB / 0.9792 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.01525/7.25, allocations: 14.71 MB / 2.558 GB, free: 86.32 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.05964/7.31, allocations: 11.81 MB / 2.57 GB, free: 86.21 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-05/7.31, allocations: 4.812 kB / 2.57 GB, free: 86.21 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.05031/7.36, allocations: 6.71 MB / 2.576 GB, free: 86.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01053/7.371, allocations: 1.576 MB / 2.578 GB, free: 86.17 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02965/7.4, allocations: 10.53 MB / 2.588 GB, free: 84.06 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003619/7.404, allocations: 3.142 MB / 2.591 GB, free: 83.25 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01287/7.417, allocations: 2.952 MB / 2.594 GB, free: 83.16 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004394/7.421, allocations: 1.953 MB / 2.596 GB, free: 83.16 MB / 0.9792 GB Notification: Performance of SimCode: time 1.463e-06/7.421, allocations: 2.125 kB / 2.596 GB, free: 83.16 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2141/7.636, allocations: 132.9 MB / 2.726 GB, free: 66.92 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/7.636, allocations: 242.3 kB / 2.726 GB, free: 66.61 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/14.98, allocations: 0 / 2.726 GB, free: 66.61 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)