Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.conf.json 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/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Networks_Combined_BaseClasses_Validation_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Networks_Combined_BaseClasses_Validation_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.832/2.832, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.256/5.256, allocations: 409.2 MB / 0.6838 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006955/0.0006963, allocations: 8 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491/1.492, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe): time 0.04603/1.538, allocations: 24.21 MB / 1.005 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01614/1.554, allocations: 5.814 MB / 1.01 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/1.556, allocations: 35.75 kB / 1.01 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/1.559, allocations: 394.1 kB / 1.011 GB, free: 7.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007939/1.567, allocations: 1.284 MB / 1.012 GB, free: 6.445 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005824/1.573, allocations: 0.8839 MB / 1.013 GB, free: 5.578 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006109/1.579, allocations: 1.412 MB / 1.014 GB, free: 4.164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/1.581, allocations: 441.6 kB / 1.015 GB, free: 3.727 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/1.584, allocations: 0.6578 MB / 1.015 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/1.586, allocations: 374.3 kB / 1.016 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001867/1.586, allocations: 24 kB / 1.016 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/1.59, allocations: 0.702 MB / 1.016 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000374/1.591, allocations: 123.4 kB / 1.016 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007818/1.591, allocations: 161.3 kB / 1.017 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003014/1.594, allocations: 0.8066 MB / 1.017 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/1.594, allocations: 4 kB / 1.017 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.081e-06/1.594, allocations: 3.938 kB / 1.017 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.62e-05/1.595, allocations: 0 / 1.017 GB, free: 0.8711 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.003123/1.598, allocations: 1.002 MB / 1.018 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 9.517e-05/1.598, allocations: 8.031 kB / 1.018 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/1.598, allocations: 74.53 kB / 1.018 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/1.598, allocations: 86.97 kB / 1.018 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/1.601, allocations: 0.6678 MB / 1.019 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/1.601, allocations: 29 kB / 1.019 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/1.601, allocations: 39.95 kB / 1.019 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/1.602, allocations: 322.4 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/1.602, allocations: 4 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-05/1.603, allocations: 12 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/1.603, allocations: 8 kB / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007901/1.603, allocations: 235.8 kB / 1.02 GB, free: 14.3 MB / 0.7794 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.004169/1.608, allocations: 1.469 MB / 1.021 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/1.608, allocations: 146.5 kB / 1.021 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/1.609, allocations: 0.8154 MB / 1.022 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/1.609, allocations: 46.5 kB / 1.022 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 3.506e-06/1.609, allocations: 0 / 1.022 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.001072/1.61, allocations: 302 kB / 1.022 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/1.61, allocations: 55.41 kB / 1.022 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/1.612, allocations: 0.7235 MB / 1.023 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/1.612, allocations: 33.7 kB / 1.023 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00055/1.613, allocations: 363.6 kB / 1.024 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/1.613, allocations: 67.03 kB / 1.024 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/1.613, allocations: 15.94 kB / 1.024 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002507/1.613, allocations: 325.9 kB / 1.024 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/1.613, allocations: 100.8 kB / 1.024 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/1.614, allocations: 268 kB / 1.024 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/1.615, allocations: 143.9 kB / 1.024 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.615, allocations: 0 / 1.024 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00133/1.616, allocations: 440.2 kB / 1.025 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.001366/1.617, allocations: 1.663 MB / 1.026 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/1.617, allocations: 4 kB / 1.026 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.93e-05/1.617, allocations: 8 kB / 1.027 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008581/1.626, allocations: 0.6436 MB / 1.027 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/1.627, allocations: 1.207 MB / 1.028 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/1.629, allocations: 59.77 kB / 1.028 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/1.629, allocations: 27.98 kB / 1.028 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.629, allocations: 0 / 1.028 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/1.63, allocations: 331.4 kB / 1.029 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.63, allocations: 4.438 kB / 1.029 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/1.63, allocations: 12 kB / 1.029 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008567/1.639, allocations: 0.6437 MB / 1.029 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/1.64, allocations: 1.215 MB / 1.031 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.642, allocations: 39.77 kB / 1.031 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/1.642, allocations: 27.98 kB / 1.031 GB, free: 2.473 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006868/1.643, allocations: 265 kB / 1.031 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/1.643, allocations: 75.16 kB / 1.031 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/1.644, allocations: 392.5 kB / 1.031 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/1.644, allocations: 4 kB / 1.031 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.382e-05/1.644, allocations: 0 / 1.031 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/1.644, allocations: 0 / 1.031 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/1.647, allocations: 1.017 MB / 1.032 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.647, allocations: 4 kB / 1.032 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/1.647, allocations: 28.23 kB / 1.032 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-05/1.647, allocations: 4 kB / 1.032 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/1.647, allocations: 12 kB / 1.032 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/1.647, allocations: 3.938 kB / 1.032 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/1.647, allocations: 4 kB / 1.032 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/1.648, allocations: 0.5423 MB / 1.033 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006262/1.649, allocations: 200 kB / 1.033 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.649, allocations: 7.984 kB / 1.033 GB, free: 15.72 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/1.65, allocations: 19.94 kB / 1.033 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/1.65, allocations: 23.98 kB / 1.033 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/1.65, allocations: 8 kB / 1.033 GB, free: 15.67 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001277/1.651, allocations: 0.5068 MB / 1.034 GB, free: 15.17 MB / 0.795 GB Notification: Performance of sort global known variables: time 6.61e-07/1.651, allocations: 0 / 1.034 GB, free: 15.17 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002889/1.654, allocations: 387.5 kB / 1.034 GB, free: 14.79 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004043/1.658, allocations: 1.915 MB / 1.036 GB, free: 12.81 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02214/1.681, allocations: 2.151 MB / 1.038 GB, free: 10.66 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.739e-05/1.681, allocations: 4.25 kB / 1.038 GB, free: 10.65 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004869/1.681, allocations: 119.8 kB / 1.038 GB, free: 10.54 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/1.684, allocations: 288.3 kB / 1.038 GB, free: 10.26 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007976/1.692, allocations: 4.566 MB / 1.043 GB, free: 5.539 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/1.694, allocations: 0.9414 MB / 1.044 GB, free: 4.57 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001553/1.695, allocations: 180.9 kB / 1.044 GB, free: 4.402 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006063/1.696, allocations: 251.3 kB / 1.044 GB, free: 4.156 MB / 0.795 GB Notification: Performance of SimCode: time 2.905e-06/1.696, allocations: 0 / 1.044 GB, free: 4.156 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08381/1.78, allocations: 19.77 MB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005551/1.781, allocations: 273.3 kB / 1.064 GB, free: 468 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.255/6.035, allocations: 0 / 1.064 GB, free: 468 kB / 0.8106 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Networks_Combined_BaseClasses_Validation_Pipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Networks_Combined_BaseClasses_Validation_Pipe.fmu > Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe_res.mat does not exist to compare? outputFormat=mat