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.0008229/0.0008232, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008179/0.0008182, allocations: 172.7 kB / 15.95 MB, free: 208 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.446/1.446, allocations: 223.2 MB / 240 MB, free: 5.43 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.497/2.497, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.000423, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7598/0.7603, allocations: 142.3 MB / 0.9539 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Networks.Combined.BaseClasses.Validation.Pipe): time 0.02896/0.7893, allocations: 26.58 MB / 0.9798 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.7999, allocations: 6.375 MB / 0.986 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.8015, allocations: 33.38 kB / 0.9861 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.8026, allocations: 290.4 kB / 0.9864 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003942/0.8066, allocations: 1.07 MB / 0.9874 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.8084, allocations: 0.5241 MB / 0.9879 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003979/0.8124, allocations: 2.392 MB / 0.9903 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00078/0.8132, allocations: 435.2 kB / 0.9907 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.8148, allocations: 0.7038 MB / 0.9914 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.8155, allocations: 0.4899 MB / 0.9918 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.8156, allocations: 24 kB / 0.9919 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.8177, allocations: 0.8107 MB / 0.9926 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.8179, allocations: 127.4 kB / 0.9928 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.8181, allocations: 161.3 kB / 0.9929 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.8193, allocations: 0.8573 MB / 0.9938 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.8193, allocations: 7.984 kB / 0.9938 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.667e-06/0.8193, allocations: 0 / 0.9938 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.8193, allocations: 3.938 kB / 0.9938 GB, free: 7.133 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.001472/0.8208, allocations: 1.021 MB / 0.9948 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.8209, allocations: 16.02 kB / 0.9948 GB, free: 6.047 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.781e-05/0.821, allocations: 70.53 kB / 0.9949 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.8211, allocations: 86.97 kB / 0.9949 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.8223, allocations: 0.6952 MB / 0.9956 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.8224, allocations: 32.98 kB / 0.9956 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.8224, allocations: 43.92 kB / 0.9957 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.823, allocations: 318.5 kB / 0.996 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.823, allocations: 0 / 0.996 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.823, allocations: 19.89 kB / 0.996 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.823, allocations: 8 kB / 0.996 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003725/0.8234, allocations: 235.9 kB / 0.9962 GB, free: 4.496 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.001884/0.8253, allocations: 1.465 MB / 0.9977 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.8255, allocations: 154.4 kB / 0.9978 GB, free: 2.746 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.8257, allocations: 105.1 kB / 0.9979 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006243/0.8263, allocations: 0.8193 MB / 0.9987 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.8264, allocations: 34.56 kB / 0.9988 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.542e-06/0.8264, allocations: 0 / 0.9988 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.000526/0.8269, allocations: 306.1 kB / 0.999 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.8269, allocations: 55.41 kB / 0.9991 GB, free: 1.223 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007778/0.8277, allocations: 0.7157 MB / 0.9998 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.8278, allocations: 29.7 kB / 0.9998 GB, free: 472 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/0.8281, allocations: 371.5 kB / 1 GB, free: 96 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.997e-05/0.8281, allocations: 71.05 kB / 1 GB, free: 24 kB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/0.8281, allocations: 4 kB / 1 GB, free: 20 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.8283, allocations: 322 kB / 1.001 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.8284, allocations: 100.8 kB / 1.001 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.8287, allocations: 268 kB / 1.001 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.829, allocations: 143.9 kB / 1.001 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.829, allocations: 0 / 1.001 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006104/0.8296, allocations: 440.6 kB / 1.001 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.8297, allocations: 212.5 kB / 1.002 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.8297, allocations: 4 kB / 1.002 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.8298, allocations: 8 kB / 1.002 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004642/0.8344, allocations: 0.6475 MB / 1.002 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007217/0.8351, allocations: 1.207 MB / 1.003 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.8357, allocations: 51.58 kB / 1.004 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.8358, allocations: 28.19 kB / 1.004 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8358, allocations: 4 kB / 1.004 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005643/0.8364, allocations: 343.5 kB / 1.004 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.8364, allocations: 4 kB / 1.004 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.8364, allocations: 8.438 kB / 1.004 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004322/0.8407, allocations: 0.6475 MB / 1.005 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006278/0.8414, allocations: 1.207 MB / 1.006 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.8418, allocations: 40.89 kB / 1.006 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.8419, allocations: 24 kB / 1.006 GB, free: 10.11 MB / 0.7637 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.0003371/0.8422, allocations: 272.9 kB / 1.006 GB, free: 9.832 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.804e-05/0.8423, allocations: 78.95 kB / 1.006 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006124/0.843, allocations: 383.9 kB / 1.006 GB, free: 9.375 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.843, allocations: 11.98 kB / 1.006 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.843, allocations: 0 / 1.006 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.843, allocations: 0 / 1.006 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.8443, allocations: 1.004 MB / 1.007 GB, free: 8.281 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.8443, allocations: 0 / 1.007 GB, free: 8.281 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.08e-05/0.8444, allocations: 31.92 kB / 1.008 GB, free: 8.25 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.8444, allocations: 4.25 kB / 1.008 GB, free: 8.246 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.8444, allocations: 12 kB / 1.008 GB, free: 8.234 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.8444, allocations: 4 kB / 1.008 GB, free: 8.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8444, allocations: 4 kB / 1.008 GB, free: 8.227 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.8449, allocations: 471.8 kB / 1.008 GB, free: 7.727 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.8451, allocations: 192.1 kB / 1.008 GB, free: 7.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.8451, allocations: 8 kB / 1.008 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.8454, allocations: 23.83 kB / 1.008 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.8454, allocations: 19.97 kB / 1.008 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.8455, allocations: 8 kB / 1.008 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005488/0.846, allocations: 0.4951 MB / 1.009 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.71e-07/0.846, allocations: 0 / 1.009 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001068/0.8471, allocations: 383.5 kB / 1.009 GB, free: 6.598 MB / 0.7637 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.001393/0.8485, allocations: 1.277 MB / 1.01 GB, free: 5.277 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01315/0.8617, allocations: 2.158 MB / 1.012 GB, free: 3.117 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.8617, allocations: 0 / 1.012 GB, free: 3.117 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.8619, allocations: 115.8 kB / 1.013 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.8635, allocations: 285 kB / 1.013 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005443/0.8689, allocations: 3.719 MB / 1.016 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/0.8695, allocations: 0.9258 MB / 1.017 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006356/0.8702, allocations: 173.2 kB / 1.018 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.8705, allocations: 247.4 kB / 1.018 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of SimCode: time 1.032e-06/0.8705, allocations: 0 / 1.018 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/0.9088, allocations: 20.14 MB / 1.037 GB, free: 9.812 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.9091, allocations: 283.5 kB / 1.038 GB, free: 9.453 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/3.05, allocations: 0 / 1.038 GB, free: 9.453 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