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.001388/0.001388, allocations: 98.45 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.001816/0.001817, 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 2.556/2.556, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.943/4.943, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006129/0.0006129, allocations: 8 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583/1.583, allocations: 146.8 MB / 0.9808 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02897/1.613, allocations: 12.64 MB / 0.9932 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009895/1.623, allocations: 3.351 MB / 0.9965 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/1.624, allocations: 11.94 kB / 0.9965 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/1.625, allocations: 179.1 kB / 0.9966 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004064/1.629, allocations: 0.6622 MB / 0.9973 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/1.632, allocations: 0.5377 MB / 0.9978 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003171/1.635, allocations: 0.7331 MB / 0.9985 GB, free: 4.137 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008444/1.636, allocations: 231 kB / 0.9988 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/1.638, allocations: 330.8 kB / 0.9991 GB, free: 3.586 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004988/1.638, allocations: 187.1 kB / 0.9993 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/1.638, allocations: 16 kB / 0.9993 GB, free: 3.387 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/1.641, allocations: 0.4992 MB / 0.9998 GB, free: 2.887 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/1.641, allocations: 55.75 kB / 0.9998 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002572/1.641, allocations: 97.45 kB / 0.9999 GB, free: 2.73 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/1.642, allocations: 451 kB / 1 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.642, allocations: 0 / 1 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of FrontEnd: time 6.312e-06/1.642, allocations: 0 / 1 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.388e-05/1.642, allocations: 0 / 1 GB, free: 2.289 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002132/1.645, allocations: 0.6716 MB / 1.001 GB, free: 1.566 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.071e-05/1.645, allocations: 8.031 kB / 1.001 GB, free: 1.559 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/1.645, allocations: 54.55 kB / 1.001 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/1.645, allocations: 39.53 kB / 1.001 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/1.647, allocations: 421.2 kB / 1.001 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/1.647, allocations: 12.33 kB / 1.001 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/1.647, allocations: 23.98 kB / 1.002 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007122/1.647, allocations: 184.1 kB / 1.002 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/1.648, allocations: 0 / 1.002 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/1.648, allocations: 15.94 kB / 1.002 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/1.648, allocations: 4 kB / 1.002 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006055/1.648, allocations: 148.2 kB / 1.002 GB, free: 0.6211 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.002459/1.651, allocations: 0.8763 MB / 1.003 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/1.651, allocations: 130.6 kB / 1.003 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/1.652, allocations: 332.4 kB / 1.003 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/1.652, allocations: 38.56 kB / 1.003 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=12): time 2.996e-06/1.652, allocations: 0 / 1.003 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of matching and sorting (n=12): time 0.001056/1.653, allocations: 233.3 kB / 1.003 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/1.653, allocations: 59.34 kB / 1.003 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007684/1.654, allocations: 369.7 kB / 1.004 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/1.654, allocations: 29.7 kB / 1.004 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/1.654, allocations: 192.4 kB / 1.004 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-05/1.654, allocations: 43.3 kB / 1.004 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/1.655, allocations: 4 kB / 1.004 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002673/1.655, allocations: 342.8 kB / 1.004 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/1.655, allocations: 47.97 kB / 1.004 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/1.655, allocations: 96.67 kB / 1.005 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/1.656, allocations: 63.89 kB / 1.005 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.656, allocations: 3.953 kB / 1.005 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007115/1.656, allocations: 181.2 kB / 1.005 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002293/1.657, allocations: 178 kB / 1.005 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/1.657, allocations: 4.094 kB / 1.005 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/1.657, allocations: 7.938 kB / 1.005 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/1.657, allocations: 27.97 kB / 1.005 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/1.657, allocations: 4 kB / 1.005 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004725/1.658, allocations: 39.83 kB / 1.005 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/1.658, allocations: 4 kB / 1.005 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.658, allocations: 4 kB / 1.005 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005822/1.658, allocations: 123.8 kB / 1.005 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/1.658, allocations: 0 / 1.005 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/1.658, allocations: 4 kB / 1.005 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/1.658, allocations: 27.98 kB / 1.005 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/1.658, allocations: 0 / 1.005 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/1.659, allocations: 31.97 kB / 1.005 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/1.659, allocations: 8 kB / 1.005 GB, free: 12.89 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.0003756/1.659, allocations: 225.1 kB / 1.005 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.659, allocations: 43.42 kB / 1.005 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009699/1.66, allocations: 232.8 kB / 1.006 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.66, allocations: 7.938 kB / 1.006 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-06/1.66, allocations: 0 / 1.006 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/1.661, allocations: 3.984 kB / 1.006 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/1.663, allocations: 0.6568 MB / 1.006 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.663, allocations: 3.984 kB / 1.006 GB, free: 11.65 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/1.663, allocations: 27.98 kB / 1.006 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.663, allocations: 0 / 1.006 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/1.663, allocations: 4 kB / 1.006 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.663, allocations: 0 / 1.006 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/1.663, allocations: 7.938 kB / 1.006 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000895/1.664, allocations: 363.8 kB / 1.007 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002739/1.664, allocations: 132.7 kB / 1.007 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/1.664, allocations: 4 kB / 1.007 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/1.665, allocations: 35.83 kB / 1.007 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/1.665, allocations: 11.98 kB / 1.007 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/1.665, allocations: 4 kB / 1.007 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005631/1.665, allocations: 271.1 kB / 1.007 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.7e-07/1.665, allocations: 0 / 1.007 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001248/1.667, allocations: 187.8 kB / 1.007 GB, free: 10.57 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.00302/1.67, allocations: 1.265 MB / 1.009 GB, free: 9.266 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009463/1.671, allocations: 199.8 kB / 1.009 GB, free: 9.07 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.671, allocations: 0 / 1.009 GB, free: 9.07 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003255/1.671, allocations: 88.08 kB / 1.009 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/1.673, allocations: 142.1 kB / 1.009 GB, free: 8.844 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/1.678, allocations: 1.982 MB / 1.011 GB, free: 6.805 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008002/1.679, allocations: 0.7999 MB / 1.012 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005975/1.68, allocations: 78.83 kB / 1.012 GB, free: 5.906 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/1.68, allocations: 115.4 kB / 1.012 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of SimCode: time 2.134e-06/1.68, allocations: 0 / 1.012 GB, free: 5.793 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06326/1.743, allocations: 9.973 MB / 1.022 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000564/1.744, allocations: 233.2 kB / 1.022 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.665/5.409, allocations: 1.547 kB / 1.022 GB, free: 11.83 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