Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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.00118/0.00118, allocations: 100 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.001593/0.001593, allocations: 177.3 kB / 15.94 MB, free: 228 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.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003673, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8173/0.8177, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe): time 0.02665/0.8444, allocations: 24.21 MB / 0.9773 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.8557, allocations: 5.829 MB / 0.9829 GB, free: 408 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.8573, allocations: 31 kB / 0.983 GB, free: 396 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.8588, allocations: 400 kB / 0.9834 GB, free: 48 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0049/0.8637, allocations: 1.277 MB / 0.9846 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.8665, allocations: 0.8824 MB / 0.9855 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003066/0.8696, allocations: 1.412 MB / 0.9868 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007954/0.8704, allocations: 439.5 kB / 0.9873 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.8719, allocations: 0.6582 MB / 0.9879 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.8725, allocations: 373.6 kB / 0.9883 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.8726, allocations: 24.06 kB / 0.9883 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.8745, allocations: 0.7016 MB / 0.989 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.8746, allocations: 123.5 kB / 0.9891 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.8748, allocations: 161.3 kB / 0.9892 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.8759, allocations: 0.8105 MB / 0.99 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.8759, allocations: 0 / 0.99 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8759, allocations: 0 / 0.99 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.8759, allocations: 0 / 0.99 GB, free: 10.81 MB / 0.7481 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.001442/0.8774, allocations: 1.008 MB / 0.991 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.8774, allocations: 16.02 kB / 0.991 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.896e-05/0.8775, allocations: 70.53 kB / 0.9911 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.8776, allocations: 86.91 kB / 0.9912 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.8789, allocations: 0.6756 MB / 0.9918 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.8789, allocations: 29 kB / 0.9919 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.879, allocations: 40 kB / 0.9919 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.8795, allocations: 314.5 kB / 0.9922 GB, free: 8.477 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.8795, allocations: 0 / 0.9922 GB, free: 8.477 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.8795, allocations: 11.95 kB / 0.9922 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.8796, allocations: 19.94 kB / 0.9922 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.8799, allocations: 239.8 kB / 0.9925 GB, free: 8.211 MB / 0.7481 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.001944/0.8819, allocations: 1.465 MB / 0.9939 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.8821, allocations: 146.5 kB / 0.994 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006008/0.8827, allocations: 0.8155 MB / 0.9948 GB, free: 5.469 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.8828, allocations: 34.86 kB / 0.9949 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.8828, allocations: 0 / 0.9949 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.0005142/0.8833, allocations: 314.6 kB / 0.9952 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.8833, allocations: 55.41 kB / 0.9952 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008301/0.8842, allocations: 0.7235 MB / 0.9959 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.8842, allocations: 33.7 kB / 0.996 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.8845, allocations: 359.6 kB / 0.9963 GB, free: 3.918 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.8845, allocations: 71.05 kB / 0.9964 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/0.8846, allocations: 4 kB / 0.9964 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.8847, allocations: 322 kB / 0.9967 GB, free: 3.523 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.8848, allocations: 96.81 kB / 0.9968 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.8851, allocations: 280 kB / 0.997 GB, free: 3.086 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.8853, allocations: 143.8 kB / 0.9972 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8854, allocations: 4 kB / 0.9972 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000619/0.886, allocations: 436.7 kB / 0.9976 GB, free: 2.508 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006098/0.8866, allocations: 1.664 MB / 0.9992 GB, free: 0.7148 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.8866, allocations: 4 kB / 0.9992 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.8866, allocations: 8 kB / 0.9992 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/0.8914, allocations: 0.6476 MB / 0.9999 GB, free: 56 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007415/0.8922, allocations: 1.211 MB / 1.001 GB, free: 14.8 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.8928, allocations: 51.58 kB / 1.001 GB, free: 14.75 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.8928, allocations: 24 kB / 1.001 GB, free: 14.72 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.8928, allocations: 8.094 kB / 1.001 GB, free: 14.71 MB / 0.7638 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005185/0.8934, allocations: 331.3 kB / 1.001 GB, free: 14.39 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8934, allocations: 8 kB / 1.001 GB, free: 14.38 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/0.8934, allocations: 4 kB / 1.001 GB, free: 14.38 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004582/0.898, allocations: 0.648 MB / 1.002 GB, free: 13.73 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006499/0.8987, allocations: 1.199 MB / 1.003 GB, free: 12.48 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.8991, allocations: 51.86 kB / 1.003 GB, free: 12.43 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.8992, allocations: 20 kB / 1.003 GB, free: 12.41 MB / 0.7638 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.0003304/0.8995, allocations: 273 kB / 1.004 GB, free: 12.14 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.8996, allocations: 75.02 kB / 1.004 GB, free: 12.06 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005964/0.9002, allocations: 395.5 kB / 1.004 GB, free: 11.67 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.9003, allocations: 0 / 1.004 GB, free: 11.67 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9003, allocations: 7.984 kB / 1.004 GB, free: 11.66 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9003, allocations: 7.875 kB / 1.004 GB, free: 11.66 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.9015, allocations: 0.998 MB / 1.005 GB, free: 10.58 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.9015, allocations: 4 kB / 1.005 GB, free: 10.57 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.9016, allocations: 35.92 kB / 1.005 GB, free: 10.54 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.9016, allocations: 4 kB / 1.005 GB, free: 10.54 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.9017, allocations: 8.234 kB / 1.005 GB, free: 10.53 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.9017, allocations: 8 kB / 1.005 GB, free: 10.52 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.9017, allocations: 7.922 kB / 1.005 GB, free: 10.51 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.9022, allocations: 0.5393 MB / 1.006 GB, free: 9.883 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.9024, allocations: 200 kB / 1.006 GB, free: 9.668 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.631e-05/0.9025, allocations: 8 kB / 1.006 GB, free: 9.66 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.9028, allocations: 19.89 kB / 1.006 GB, free: 9.641 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.9028, allocations: 27.86 kB / 1.006 GB, free: 9.613 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.9029, allocations: 12 kB / 1.006 GB, free: 9.602 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.0005591/0.9034, allocations: 0.499 MB / 1.006 GB, free: 9.109 MB / 0.7638 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9034, allocations: 0 / 1.006 GB, free: 9.109 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.001043/0.9045, allocations: 383.5 kB / 1.007 GB, free: 8.734 MB / 0.7638 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.001486/0.906, allocations: 1.924 MB / 1.009 GB, free: 6.738 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.01392/0.9199, allocations: 2.143 MB / 1.011 GB, free: 4.594 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.92, allocations: 0.8125 kB / 1.011 GB, free: 4.594 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.9202, allocations: 119.9 kB / 1.011 GB, free: 4.477 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.9216, allocations: 282 kB / 1.011 GB, free: 4.203 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.925, allocations: 4.569 MB / 1.016 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/0.9257, allocations: 0.949 MB / 1.016 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006947/0.9264, allocations: 174.9 kB / 1.017 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.9267, allocations: 247.4 kB / 1.017 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of SimCode: time 1.112e-06/0.9268, allocations: 0 / 1.017 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03693/0.9637, allocations: 19.76 MB / 1.036 GB, free: 10.77 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.964, allocations: 281.4 kB / 1.036 GB, free: 10.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/3.186, allocations: 0 / 1.036 GB, free: 10.4 MB / 0.795 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Networks_Combined_BaseClasses_Validation_Pipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Networks_Combined_BaseClasses_Validation_Pipe.fmu > Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe_res.mat does not exist to compare? outputFormat=mat