Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8733/0.8733, allocations: 143.3 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 183.7 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.2 MB / 447.7 MB, free: 4.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.0009444, allocations: 96.33 kB / 0.5187 GB, free: 1.223 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001659/0.001659, allocations: 261.3 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006329/0.000633, allocations: 17.62 kB / 0.6929 GB, free: 59.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2392, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.407/1.646, allocations: 440.8 MB / 1.204 GB, free: 181.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.647, allocations: 96.38 kB / 1.204 GB, free: 181.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.563/5.209, allocations: 0.9522 GB / 2.157 GB, free: 49.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.906e-06/5.209, allocations: 0 / 2.157 GB, free: 49.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006365/5.21, allocations: 140.6 kB / 2.157 GB, free: 49.07 MB / 0.7136 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.02166/5.231, allocations: 5.309 MB / 2.162 GB, free: 46.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/5.232, allocations: 11.59 kB / 2.162 GB, free: 46.91 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003478/5.235, allocations: 0.5511 MB / 2.162 GB, free: 46.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004156/5.239, allocations: 0.5807 MB / 2.163 GB, free: 46.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/5.253, allocations: 4.069 MB / 2.167 GB, free: 45.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004261/5.254, allocations: 293 kB / 2.167 GB, free: 44.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0024/5.256, allocations: 397.4 kB / 2.168 GB, free: 44.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/5.274, allocations: 6.013 MB / 2.174 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002742/5.275, allocations: 15.38 kB / 2.174 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002002/5.277, allocations: 166.5 kB / 2.174 GB, free: 42.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006006/5.277, allocations: 382.4 kB / 2.174 GB, free: 42.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/5.291, allocations: 5.317 MB / 2.179 GB, free: 40.3 MB / 0.7136 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.04841/5.34, allocations: 25.05 MB / 2.204 GB, free: 22.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009802/5.35, allocations: 4.497 MB / 2.208 GB, free: 21.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03037/5.38, allocations: 12.42 MB / 2.22 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004799/5.385, allocations: 2.221 MB / 2.222 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004541/5.389, allocations: 0.6763 MB / 2.223 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=310): time 2.328e-05/5.389, allocations: 0 / 2.223 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=334): time 0.04324/5.433, allocations: 13.33 MB / 2.236 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/5.433, allocations: 111.7 kB / 2.236 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007709/5.441, allocations: 2.807 MB / 2.239 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001439/5.442, allocations: 97.7 kB / 2.239 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002877/5.445, allocations: 2.059 MB / 2.241 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002445/5.447, allocations: 1.156 MB / 2.242 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/5.449, allocations: 80 kB / 2.242 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0004981/5.449, allocations: 466.6 kB / 2.243 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004625/5.454, allocations: 1.917 MB / 2.245 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005684/5.46, allocations: 2.96 MB / 2.247 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005174/5.465, allocations: 2.422 MB / 2.25 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-05/5.465, allocations: 8 kB / 2.25 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01719/5.482, allocations: 5.524 MB / 2.255 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.6142/6.096, allocations: 12.18 MB / 2.267 GB, free: 76.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001234/6.096, allocations: 32.14 kB / 2.267 GB, free: 76.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/6.097, allocations: 51.91 kB / 2.267 GB, free: 76.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0395/6.136, allocations: 4.226 MB / 2.271 GB, free: 76.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002691/6.139, allocations: 3.957 MB / 2.275 GB, free: 73.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007105/6.146, allocations: 388 kB / 2.276 GB, free: 73.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001922/6.148, allocations: 203.8 kB / 2.276 GB, free: 73.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/6.148, allocations: 4.781 kB / 2.276 GB, free: 73.44 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01212/6.16, allocations: 5.01 MB / 2.281 GB, free: 73.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/6.16, allocations: 29.34 kB / 2.281 GB, free: 73.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.482e-05/6.16, allocations: 51.89 kB / 2.281 GB, free: 73.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008404/6.169, allocations: 1.371 MB / 2.282 GB, free: 73.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003553/6.169, allocations: 66.48 kB / 2.282 GB, free: 73.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007685/6.177, allocations: 381.8 kB / 2.282 GB, free: 73.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001935/6.179, allocations: 199.5 kB / 2.283 GB, free: 73.35 MB / 0.7448 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.00548/6.184, allocations: 1.25 MB / 2.284 GB, free: 73.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/6.186, allocations: 403.5 kB / 2.284 GB, free: 73.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/6.198, allocations: 5.418 MB / 2.29 GB, free: 72.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.835e-05/6.198, allocations: 45.28 kB / 2.29 GB, free: 72.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/6.198, allocations: 0 / 2.29 GB, free: 72.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00685/6.205, allocations: 4.274 MB / 2.294 GB, free: 72.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03175/6.237, allocations: 11.95 MB / 2.305 GB, free: 71.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.62e-05/6.237, allocations: 16.23 kB / 2.305 GB, free: 71.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04451/6.281, allocations: 3.839 MB / 2.309 GB, free: 71.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/6.282, allocations: 28.94 kB / 2.309 GB, free: 71.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001491/6.283, allocations: 110.9 kB / 2.309 GB, free: 71.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003201/6.286, allocations: 3.867 MB / 2.313 GB, free: 68.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-05/6.286, allocations: 16.53 kB / 2.313 GB, free: 68.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.025/6.311, allocations: 9.426 MB / 2.322 GB, free: 65.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006196/6.318, allocations: 0.9829 MB / 2.323 GB, free: 65.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00223/6.32, allocations: 99.88 kB / 2.323 GB, free: 65.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006971/6.327, allocations: 279.2 kB / 2.324 GB, free: 65.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008572/6.328, allocations: 270.8 kB / 2.324 GB, free: 65.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007789/6.329, allocations: 168.9 kB / 2.324 GB, free: 65.58 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.006022/6.335, allocations: 2.111 MB / 2.326 GB, free: 65.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.7e-07/6.335, allocations: 1.859 kB / 2.326 GB, free: 65.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01898/6.354, allocations: 2.632 MB / 2.329 GB, free: 65.43 MB / 0.7448 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.02127/6.375, allocations: 14.86 MB / 2.343 GB, free: 59.13 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.06814/6.443, allocations: 11.8 MB / 2.355 GB, free: 59.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-05/6.443, allocations: 4.656 kB / 2.355 GB, free: 59.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.05722/6.501, allocations: 6.746 MB / 2.361 GB, free: 59.03 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01098/6.512, allocations: 1.581 MB / 2.363 GB, free: 58.99 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.042/6.554, allocations: 35.67 MB / 2.398 GB, free: 47.46 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005068/6.559, allocations: 3.138 MB / 2.401 GB, free: 46.6 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.01315/6.572, allocations: 2.533 MB / 2.403 GB, free: 46.38 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005753/6.578, allocations: 2.005 MB / 2.405 GB, free: 46.38 MB / 0.7605 GB Notification: Performance of SimCode: time 1.273e-06/6.578, allocations: 0 / 2.405 GB, free: 46.38 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2141/6.792, allocations: 125.4 MB / 2.528 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/6.792, allocations: 279.8 kB / 2.528 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/14.45, allocations: 2.812 kB / 2.528 GB, free: 1.676 MB / 0.7605 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)