Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8472/0.8472, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 176.7 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.714/1.714, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009483/0.0009484, allocations: 95.98 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002364/0.002364, allocations: 281.5 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.205e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5218/0.5219, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.323/5.845, allocations: 1.832 GB / 2.59 GB, free: 227.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/5.845, allocations: 86.77 kB / 2.59 GB, free: 227.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.397/11.24, allocations: 1.414 GB / 4.004 GB, free: 81.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.312e-06/11.24, allocations: 0 / 4.004 GB, free: 81.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000108/11.24, allocations: 42.94 kB / 4.004 GB, free: 81.19 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003568/11.25, allocations: 1.673 MB / 4.005 GB, free: 80.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/11.25, allocations: 9.844 kB / 4.005 GB, free: 80.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008155/11.25, allocations: 200.2 kB / 4.006 GB, free: 80.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/11.25, allocations: 0.9509 MB / 4.007 GB, free: 80 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/11.25, allocations: 94.72 kB / 4.007 GB, free: 79.94 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/11.25, allocations: 53.12 kB / 4.007 GB, free: 79.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007327/11.25, allocations: 404.3 kB / 4.007 GB, free: 79.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/11.25, allocations: 0.7705 MB / 4.008 GB, free: 79.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/11.25, allocations: 17.52 kB / 4.008 GB, free: 79.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.696e-05/11.25, allocations: 2.375 kB / 4.008 GB, free: 79.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/11.25, allocations: 20.97 kB / 4.008 GB, free: 79.66 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.004061/11.25, allocations: 4.618 MB / 4.012 GB, free: 76.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/11.25, allocations: 392.2 kB / 4.013 GB, free: 76.03 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/11.26, allocations: 250.2 kB / 4.013 GB, free: 75.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/11.26, allocations: 102 kB / 4.013 GB, free: 75.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/11.26, allocations: 51.31 kB / 4.013 GB, free: 75.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.965e-06/11.26, allocations: 0 / 4.013 GB, free: 75.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.001266/11.26, allocations: 466.7 kB / 4.014 GB, free: 75.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/11.26, allocations: 394.5 kB / 4.014 GB, free: 75.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/11.26, allocations: 0.6455 MB / 4.015 GB, free: 75.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/11.26, allocations: 29.23 kB / 4.015 GB, free: 75.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/11.26, allocations: 0.5538 MB / 4.015 GB, free: 74.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.592e-05/11.26, allocations: 113 kB / 4.015 GB, free: 74.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/11.26, allocations: 5.531 kB / 4.015 GB, free: 74.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.313e-05/11.26, allocations: 321.6 kB / 4.016 GB, free: 74.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/11.26, allocations: 80.7 kB / 4.016 GB, free: 74.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/11.26, allocations: 341.7 kB / 4.016 GB, free: 74.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/11.26, allocations: 127.9 kB / 4.016 GB, free: 74.13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/11.26, allocations: 4.75 kB / 4.016 GB, free: 74.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007654/11.26, allocations: 465.4 kB / 4.017 GB, free: 74.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002937/11.26, allocations: 1.312 MB / 4.018 GB, free: 72.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/11.26, allocations: 5.5 kB / 4.018 GB, free: 72.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/11.26, allocations: 68.59 kB / 4.018 GB, free: 72.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/11.26, allocations: 85.56 kB / 4.018 GB, free: 72.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/11.26, allocations: 2.317 MB / 4.02 GB, free: 70.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007359/11.26, allocations: 65.64 kB / 4.02 GB, free: 70.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/11.26, allocations: 27.56 kB / 4.02 GB, free: 70.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/11.26, allocations: 4.812 kB / 4.02 GB, free: 70.42 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000521/11.26, allocations: 283.3 kB / 4.021 GB, free: 70.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/11.26, allocations: 3.5 kB / 4.021 GB, free: 70.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/11.26, allocations: 65.86 kB / 4.021 GB, free: 70.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/11.26, allocations: 73.36 kB / 4.021 GB, free: 70.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/11.27, allocations: 2.793 MB / 4.024 GB, free: 67.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/11.27, allocations: 62.17 kB / 4.024 GB, free: 67.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/11.27, allocations: 18.66 kB / 4.024 GB, free: 67.83 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * 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: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002109/11.27, allocations: 124.8 kB / 4.024 GB, free: 67.72 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008827/11.27, allocations: 411.7 kB / 4.024 GB, free: 67.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/11.27, allocations: 113.5 kB / 4.024 GB, free: 67.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006656/11.27, allocations: 322.8 kB / 4.025 GB, free: 67.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/11.27, allocations: 7.344 kB / 4.025 GB, free: 67.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/11.27, allocations: 2.969 kB / 4.025 GB, free: 67.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/11.27, allocations: 6.781 kB / 4.025 GB, free: 67.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/11.27, allocations: 2.381 MB / 4.027 GB, free: 66.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/11.27, allocations: 7.234 kB / 4.027 GB, free: 66.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/11.27, allocations: 74.8 kB / 4.027 GB, free: 66.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/11.27, allocations: 61.95 kB / 4.027 GB, free: 66.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/11.27, allocations: 11.5 kB / 4.027 GB, free: 66.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009862/11.27, allocations: 2.297 MB / 4.029 GB, free: 63.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/11.27, allocations: 4.969 kB / 4.029 GB, free: 63.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/11.27, allocations: 0.9379 MB / 4.03 GB, free: 63.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004684/11.27, allocations: 215.8 kB / 4.03 GB, free: 62.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/11.27, allocations: 13.69 kB / 4.03 GB, free: 62.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/11.28, allocations: 62.92 kB / 4.03 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/11.28, allocations: 37.83 kB / 4.031 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/11.28, allocations: 23.19 kB / 4.031 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007757/11.28, allocations: 0.5032 MB / 4.031 GB, free: 62.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/11.28, allocations: 3.938 kB / 4.031 GB, free: 62.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003321/11.28, allocations: 0.7375 MB / 4.032 GB, free: 62.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * 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: 2 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007459/11.29, allocations: 6.705 MB / 4.038 GB, free: 58.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001571/11.29, allocations: 0.6618 MB / 4.039 GB, free: 58.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/11.29, allocations: 3.219 kB / 4.039 GB, free: 58.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000374/11.29, allocations: 173.2 kB / 4.039 GB, free: 58.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/11.29, allocations: 424.9 kB / 4.04 GB, free: 58.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/11.29, allocations: 1.53 MB / 4.041 GB, free: 57.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/11.29, allocations: 1.159 MB / 4.042 GB, free: 56.86 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001027/11.3, allocations: 296 kB / 4.042 GB, free: 56.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/11.3, allocations: 402.2 kB / 4.043 GB, free: 56.84 MB / 0.7292 GB Notification: Performance of SimCode: time 1.352e-06/11.3, allocations: 3.281 kB / 4.043 GB, free: 56.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08309/11.38, allocations: 49.49 MB / 4.091 GB, free: 47.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/11.38, allocations: 201.6 kB / 4.091 GB, free: 46.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.871/15.25, allocations: 4.031 kB / 4.091 GB, free: 46.8 MB / 0.7292 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)