Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",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.0008082/0.0008083, allocations: 87.03 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.0008442/0.0008442, 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.43/1.43, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.634/2.634, allocations: 409.4 MB / 0.684 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003892, allocations: 11.94 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.793/0.7934, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01477/0.8082, allocations: 13.78 MB / 0.9946 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.005629/0.8139, allocations: 3.614 MB / 0.9981 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006063/0.8145, allocations: 19.88 kB / 0.9981 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.8152, allocations: 139.1 kB / 0.9983 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.8172, allocations: 0.5585 MB / 0.9988 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.8187, allocations: 396.9 kB / 0.9992 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001923/0.8206, allocations: 1.195 MB / 1 GB, free: 2.5 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005403/0.8212, allocations: 224.6 kB / 1.001 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009046/0.8221, allocations: 358.4 kB / 1.001 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.8227, allocations: 250.8 kB / 1.001 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.8227, allocations: 8 kB / 1.001 GB, free: 1.672 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.8241, allocations: 0.6354 MB / 1.002 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.8242, allocations: 59.67 kB / 1.002 GB, free: 0.9766 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.8244, allocations: 101.4 kB / 1.002 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007516/0.8251, allocations: 490.9 kB / 1.002 GB, free: 400 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.8252, allocations: 8 kB / 1.002 GB, free: 392 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8252, allocations: 0 / 1.002 GB, free: 392 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.8252, allocations: 0 / 1.002 GB, free: 392 kB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00124/0.8264, allocations: 0.6812 MB / 1.003 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.8265, allocations: 12.03 kB / 1.003 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.692e-05/0.8266, allocations: 54.55 kB / 1.003 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.276e-05/0.8267, allocations: 39.53 kB / 1.003 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009745/0.8277, allocations: 477.1 kB / 1.004 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.8277, allocations: 16.33 kB / 1.004 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.8277, allocations: 16 kB / 1.004 GB, free: 15 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.8281, allocations: 184.2 kB / 1.004 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.8281, allocations: 0 / 1.004 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.8282, allocations: 8 kB / 1.004 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.8282, allocations: 4 kB / 1.004 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.8285, allocations: 152.2 kB / 1.004 GB, free: 14.65 MB / 0.7637 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.001208/0.8297, allocations: 0.8723 MB / 1.005 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.83, allocations: 122.6 kB / 1.005 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.8302, allocations: 76.81 kB / 1.005 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/0.8306, allocations: 332.4 kB / 1.005 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.8306, allocations: 42.5 kB / 1.005 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.8306, allocations: 7.938 kB / 1.005 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of matching and sorting (n=12): time 0.0005635/0.8312, allocations: 217.2 kB / 1.006 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.8312, allocations: 55.41 kB / 1.006 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.8316, allocations: 345.7 kB / 1.006 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.8317, allocations: 29.7 kB / 1.006 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.8318, allocations: 196.2 kB / 1.006 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.8319, allocations: 43.45 kB / 1.006 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.8319, allocations: 0 / 1.006 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.832, allocations: 338.8 kB / 1.007 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.8321, allocations: 55.95 kB / 1.007 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.8323, allocations: 96.5 kB / 1.007 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.8325, allocations: 63.92 kB / 1.007 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8325, allocations: 3.938 kB / 1.007 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003308/0.8328, allocations: 181.1 kB / 1.007 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-05/0.8329, allocations: 106.8 kB / 1.007 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.8329, allocations: 4.047 kB / 1.007 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.8329, allocations: 4 kB / 1.007 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.8331, allocations: 31.92 kB / 1.007 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.8331, allocations: 0 / 1.007 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.8333, allocations: 31.91 kB / 1.007 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.8333, allocations: 8 kB / 1.007 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.8333, allocations: 4 kB / 1.007 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002782/0.8336, allocations: 119.8 kB / 1.007 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.8336, allocations: 0 / 1.007 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-06/0.8336, allocations: 8 kB / 1.007 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.8338, allocations: 27.98 kB / 1.007 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-06/0.8338, allocations: 3.938 kB / 1.007 GB, free: 11 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.834, allocations: 31.81 kB / 1.007 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.834, allocations: 4 kB / 1.007 GB, free: 10.97 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001763/0.8342, allocations: 229.1 kB / 1.008 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.8343, allocations: 35.67 kB / 1.008 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.8348, allocations: 237.2 kB / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.8348, allocations: 4 kB / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8348, allocations: 0 / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.8348, allocations: 3.984 kB / 1.008 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008898/0.8357, allocations: 0.6414 MB / 1.008 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.8357, allocations: 4 kB / 1.008 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.8358, allocations: 31.86 kB / 1.008 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.8358, allocations: 4.188 kB / 1.008 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.8358, allocations: 0 / 1.008 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.8359, allocations: 7.938 kB / 1.008 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8359, allocations: 0 / 1.008 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.8363, allocations: 330.7 kB / 1.009 GB, free: 9.352 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.8364, allocations: 132.6 kB / 1.009 GB, free: 9.203 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.8365, allocations: 8 kB / 1.009 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.8367, allocations: 19.97 kB / 1.009 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.8368, allocations: 15.98 kB / 1.009 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.8368, allocations: 8 kB / 1.009 GB, free: 9.152 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002466/0.837, allocations: 243.2 kB / 1.009 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.837, allocations: 0 / 1.009 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006314/0.8377, allocations: 191.6 kB / 1.009 GB, free: 8.734 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001135/0.8388, allocations: 1.01 MB / 1.01 GB, free: 7.699 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.8393, allocations: 199.7 kB / 1.011 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8393, allocations: 4 kB / 1.011 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.8395, allocations: 83.89 kB / 1.011 GB, free: 7.418 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.8403, allocations: 153.2 kB / 1.011 GB, free: 7.27 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.843, allocations: 1.761 MB / 1.013 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.8434, allocations: 0.7921 MB / 1.013 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002619/0.8437, allocations: 71.09 kB / 1.013 GB, free: 4.57 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.8438, allocations: 111.4 kB / 1.013 GB, free: 4.461 MB / 0.7637 GB Notification: Performance of SimCode: time 2.034e-06/0.8439, allocations: 4 kB / 1.013 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.8678, allocations: 9.569 MB / 1.023 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.8681, allocations: 243.1 kB / 1.023 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.991, allocations: 0 / 1.023 GB, free: 10.9 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat does not exist to compare? outputFormat=mat