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.001169/0.001169, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001572/0.001572, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.897/2.897, allocations: 409.4 MB / 0.684 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003938, allocations: 11.98 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9044/0.9049, allocations: 146.8 MB / 0.9812 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe): time 0.02562/0.9305, allocations: 26.6 MB / 1.007 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009143/0.9397, allocations: 6.362 MB / 1.013 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.9409, allocations: 31.75 kB / 1.013 GB, free: 5.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.9419, allocations: 294 kB / 1.014 GB, free: 4.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003945/0.9458, allocations: 1.076 MB / 1.015 GB, free: 3.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.9478, allocations: 0.5178 MB / 1.015 GB, free: 3.273 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003303/0.9511, allocations: 2.387 MB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006489/0.9518, allocations: 431.2 kB / 1.018 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.9531, allocations: 0.7039 MB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006019/0.9537, allocations: 0.5016 MB / 1.019 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.9538, allocations: 20 kB / 1.019 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.9555, allocations: 0.8107 MB / 1.02 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.9556, allocations: 119.4 kB / 1.02 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.9558, allocations: 165.3 kB / 1.02 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.9568, allocations: 0.8572 MB / 1.021 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.9569, allocations: 8 kB / 1.021 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9569, allocations: 0 / 1.021 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.9569, allocations: 3.938 kB / 1.021 GB, free: 13.25 MB / 0.7794 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.001377/0.9583, allocations: 1.016 MB / 1.022 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.9583, allocations: 12.02 kB / 1.022 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.566e-05/0.9584, allocations: 74.53 kB / 1.022 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.9585, allocations: 86.97 kB / 1.022 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.9598, allocations: 0.699 MB / 1.023 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.9598, allocations: 25 kB / 1.023 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.9599, allocations: 43.95 kB / 1.023 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.9604, allocations: 322.5 kB / 1.023 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.9604, allocations: 3.984 kB / 1.023 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.9604, allocations: 12 kB / 1.023 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.9604, allocations: 8 kB / 1.023 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.9608, allocations: 239.9 kB / 1.024 GB, free: 10.62 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.001772/0.9626, allocations: 1.461 MB / 1.025 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.9628, allocations: 150.4 kB / 1.025 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.9629, allocations: 110.8 kB / 1.025 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/0.9635, allocations: 0.8233 MB / 1.026 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.9636, allocations: 30.56 kB / 1.026 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 2.475e-06/0.9636, allocations: 0 / 1.026 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.0005121/0.9641, allocations: 310.5 kB / 1.026 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.9641, allocations: 55.34 kB / 1.026 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/0.9649, allocations: 0.7157 MB / 1.027 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.965, allocations: 33.7 kB / 1.027 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.9652, allocations: 355.6 kB / 1.027 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.9653, allocations: 75.03 kB / 1.028 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/0.9653, allocations: 8 kB / 1.028 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.9654, allocations: 325.9 kB / 1.028 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.9656, allocations: 96.81 kB / 1.028 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.9659, allocations: 268 kB / 1.028 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.9661, allocations: 147.9 kB / 1.028 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.9661, allocations: 4 kB / 1.028 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006144/0.9667, allocations: 436.1 kB / 1.029 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.9669, allocations: 208.9 kB / 1.029 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.9669, allocations: 4 kB / 1.029 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.9669, allocations: 15.94 kB / 1.029 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004512/0.9714, allocations: 0.6553 MB / 1.03 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006515/0.9721, allocations: 1.207 MB / 1.031 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.9725, allocations: 43.58 kB / 1.031 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.9726, allocations: 24 kB / 1.031 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.9726, allocations: 7.938 kB / 1.031 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005043/0.9731, allocations: 343.6 kB / 1.031 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9731, allocations: 4 kB / 1.031 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.9731, allocations: 4 kB / 1.031 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004364/0.9775, allocations: 0.6479 MB / 1.032 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006222/0.9781, allocations: 1.207 MB / 1.033 GB, free: 300 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.9786, allocations: 47.86 kB / 1.033 GB, free: 252 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.9786, allocations: 20 kB / 1.033 GB, free: 232 kB / 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.0003287/0.9789, allocations: 280.8 kB / 1.033 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.275e-05/0.979, allocations: 71.16 kB / 1.033 GB, free: 15.87 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.9797, allocations: 387.5 kB / 1.034 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.9797, allocations: 4 kB / 1.034 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.9797, allocations: 0 / 1.034 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.9797, allocations: 7.984 kB / 1.034 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.981, allocations: 1.005 MB / 1.035 GB, free: 14.39 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.981, allocations: 4 kB / 1.035 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.345e-05/0.9811, allocations: 31.92 kB / 1.035 GB, free: 14.35 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.9811, allocations: 4 kB / 1.035 GB, free: 14.35 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.9811, allocations: 4 kB / 1.035 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9811, allocations: 4 kB / 1.035 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9811, allocations: 256 / 1.035 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.9816, allocations: 473.5 kB / 1.035 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.9818, allocations: 192.1 kB / 1.035 GB, free: 13.63 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.9819, allocations: 8 kB / 1.035 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.9821, allocations: 19.92 kB / 1.035 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.9822, allocations: 27.88 kB / 1.036 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.9822, allocations: 15.98 kB / 1.036 GB, free: 13.56 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005636/0.9828, allocations: 0.4912 MB / 1.036 GB, free: 13.07 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9828, allocations: 0 / 1.036 GB, free: 13.07 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00105/0.9838, allocations: 383.4 kB / 1.036 GB, free: 12.7 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.001312/0.9852, allocations: 1.269 MB / 1.038 GB, free: 11.39 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01337/0.9986, allocations: 2.155 MB / 1.04 GB, free: 9.234 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.9986, allocations: 0 / 1.04 GB, free: 9.234 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.9988, allocations: 125.2 kB / 1.04 GB, free: 9.113 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1, allocations: 275.4 kB / 1.04 GB, free: 8.848 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005697/1.006, allocations: 3.707 MB / 1.044 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/1.007, allocations: 0.9141 MB / 1.045 GB, free: 4.066 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006411/1.007, allocations: 191.7 kB / 1.045 GB, free: 3.887 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/1.008, allocations: 251.4 kB / 1.045 GB, free: 3.641 MB / 0.795 GB Notification: Performance of SimCode: time 6.71e-07/1.008, allocations: 0 / 1.045 GB, free: 3.641 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04058/1.048, allocations: 20.15 MB / 1.065 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/1.048, allocations: 289.4 kB / 1.065 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.519, allocations: 0 / 1.065 GB, free: 15.56 MB / 0.8262 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