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.418/2.418, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001595/0.001595, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.711/1.711, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.001143/0.001143, allocations: 87.97 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.574e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3079, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.612, allocations: 482.2 MB / 1.69 GB, free: 128 kB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/1.612, allocations: 91.95 kB / 1.69 GB, free: 36 kB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 4.199/5.811, allocations: 0.9502 GB / 2.64 GB, free: 145.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.345e-06/5.811, allocations: 3.469 kB / 2.64 GB, free: 145.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007056/5.812, allocations: 139.4 kB / 2.64 GB, free: 145.4 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.0192/5.831, allocations: 4.66 MB / 2.645 GB, free: 143.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/5.831, allocations: 8.688 kB / 2.645 GB, free: 143.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003148/5.834, allocations: 0.5442 MB / 2.645 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/5.839, allocations: 0.5802 MB / 2.646 GB, free: 143.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/5.853, allocations: 4.047 MB / 2.65 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/5.853, allocations: 294.3 kB / 2.65 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/5.855, allocations: 388.1 kB / 2.65 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/5.868, allocations: 5.955 MB / 2.656 GB, free: 142.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/5.869, allocations: 15.41 kB / 2.656 GB, free: 142.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006339/5.869, allocations: 168.4 kB / 2.656 GB, free: 142.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000448/5.87, allocations: 383.9 kB / 2.657 GB, free: 142.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009614/5.879, allocations: 5.222 MB / 2.662 GB, free: 142.2 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.03694/5.916, allocations: 25.03 MB / 2.686 GB, free: 129.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007171/5.923, allocations: 4.437 MB / 2.691 GB, free: 129.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/5.927, allocations: 2.326 MB / 2.693 GB, free: 129 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02099/5.948, allocations: 12.55 MB / 2.705 GB, free: 123.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003179/5.951, allocations: 2.199 MB / 2.707 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003479/5.955, allocations: 0.67 MB / 2.708 GB, free: 123.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=310): time 1.33e-05/5.955, allocations: 3.781 kB / 2.708 GB, free: 123.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=334): time 0.02527/5.98, allocations: 11.47 MB / 2.719 GB, free: 122 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/5.98, allocations: 116.6 kB / 2.719 GB, free: 121.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/5.984, allocations: 2.762 MB / 2.722 GB, free: 121.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008385/5.985, allocations: 93.45 kB / 2.722 GB, free: 121.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/5.987, allocations: 2.063 MB / 2.724 GB, free: 120.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001277/5.988, allocations: 1.166 MB / 2.725 GB, free: 120 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/5.988, allocations: 81.03 kB / 2.725 GB, free: 120 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001826/5.988, allocations: 472.9 kB / 2.726 GB, free: 119.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002643/5.991, allocations: 1.864 MB / 2.728 GB, free: 119.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/5.994, allocations: 2.924 MB / 2.73 GB, free: 118.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/5.998, allocations: 2.4 MB / 2.733 GB, free: 118.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/5.998, allocations: 8.312 kB / 2.733 GB, free: 118.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.008273/6.006, allocations: 5.441 MB / 2.738 GB, free: 118.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002201/6.008, allocations: 12.19 MB / 2.75 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.477e-05/6.008, allocations: 30.91 kB / 2.75 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.051e-05/6.008, allocations: 49.22 kB / 2.75 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03267/6.041, allocations: 4.214 MB / 2.754 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/6.043, allocations: 3.967 MB / 2.758 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006036/6.049, allocations: 379.2 kB / 2.758 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/6.051, allocations: 206.8 kB / 2.759 GB, free: 101.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/6.051, allocations: 2.344 kB / 2.759 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008198/6.059, allocations: 4.929 MB / 2.763 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.994e-05/6.059, allocations: 29.88 kB / 2.763 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.83e-05/6.059, allocations: 49.31 kB / 2.763 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005979/6.065, allocations: 1.375 MB / 2.765 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-05/6.065, allocations: 65.11 kB / 2.765 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005031/6.07, allocations: 380.2 kB / 2.765 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006986/6.071, allocations: 198 kB / 2.765 GB, free: 101.8 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.00129/6.072, allocations: 363.9 kB / 2.766 GB, free: 101.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/6.073, allocations: 409.1 kB / 2.766 GB, free: 101.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009159/6.082, allocations: 5.35 MB / 2.771 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-05/6.082, allocations: 46.91 kB / 2.771 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/6.082, allocations: 6.625 kB / 2.771 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005843/6.088, allocations: 4.205 MB / 2.776 GB, free: 100.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02086/6.109, allocations: 11.9 MB / 2.787 GB, free: 99.93 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/6.109, allocations: 14.36 kB / 2.787 GB, free: 99.92 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03105/6.14, allocations: 3.834 MB / 2.791 GB, free: 99.92 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-05/6.14, allocations: 26.28 kB / 2.791 GB, free: 99.92 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007709/6.141, allocations: 111.1 kB / 2.791 GB, free: 99.92 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/6.143, allocations: 3.864 MB / 2.795 GB, free: 96.41 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/6.143, allocations: 19.47 kB / 2.795 GB, free: 96.41 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/6.154, allocations: 9.339 MB / 2.804 GB, free: 93.71 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003151/6.158, allocations: 0.98 MB / 2.805 GB, free: 93.39 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/6.159, allocations: 104.7 kB / 2.805 GB, free: 93.39 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003273/6.162, allocations: 274.6 kB / 2.805 GB, free: 93.38 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004351/6.162, allocations: 274.1 kB / 2.806 GB, free: 93.36 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003459/6.163, allocations: 169.1 kB / 2.806 GB, free: 93.36 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002914/6.166, allocations: 2.066 MB / 2.808 GB, free: 93.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/6.166, allocations: 0 / 2.808 GB, free: 93.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008951/6.175, allocations: 2.631 MB / 2.81 GB, free: 93.02 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.0149/6.19, allocations: 14.72 MB / 2.825 GB, free: 86.49 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.05933/6.249, allocations: 11.8 MB / 2.836 GB, free: 85.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-05/6.249, allocations: 8.594 kB / 2.836 GB, free: 85.49 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.04954/6.299, allocations: 6.711 MB / 2.843 GB, free: 84.81 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/6.309, allocations: 1.574 MB / 2.844 GB, free: 84.49 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02974/6.339, allocations: 10.53 MB / 2.855 GB, free: 80.55 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00282/6.342, allocations: 3.142 MB / 2.858 GB, free: 79.47 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01047/6.352, allocations: 2.954 MB / 2.861 GB, free: 79.23 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003315/6.356, allocations: 1.954 MB / 2.862 GB, free: 77.71 MB / 1.167 GB Notification: Performance of SimCode: time 1.433e-06/6.356, allocations: 0 / 2.862 GB, free: 77.71 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2221/6.578, allocations: 132.9 MB / 2.992 GB, free: 6.812 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/6.578, allocations: 251.3 kB / 2.993 GB, free: 6.473 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.156/13.73, allocations: 0 / 2.993 GB, free: 6.473 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)