Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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.0008725/0.0008725, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 178.2 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.681/0.681, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003744, allocations: 8.75 kB / 493 MB, free: 8.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1569, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.4817/0.6387, allocations: 135.6 MB / 0.6891 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.6412, allocations: 1.623 MB / 0.6907 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.6414, allocations: 7.938 kB / 0.6907 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.6418, allocations: 175.2 kB / 0.6909 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009453/0.6428, allocations: 498.5 kB / 0.6914 GB, free: 336 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009255/0.6437, allocations: 441.9 kB / 0.6918 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004255/0.6441, allocations: 360.1 kB / 0.6921 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.6443, allocations: 148.5 kB / 0.6923 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.6447, allocations: 215.3 kB / 0.6925 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.6448, allocations: 103.5 kB / 0.6926 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.6449, allocations: 8 kB / 0.6926 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005659/0.6454, allocations: 379.4 kB / 0.693 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.6455, allocations: 71.78 kB / 0.693 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.6456, allocations: 73.52 kB / 0.6931 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.6459, allocations: 284.2 kB / 0.6934 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.6459, allocations: 0 / 0.6934 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.163e-06/0.6459, allocations: 0 / 0.6934 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.6459, allocations: 0 / 0.6934 GB, free: 14.3 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005484/0.6465, allocations: 0.5263 MB / 0.6939 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.402e-05/0.6465, allocations: 8.031 kB / 0.6939 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.6465, allocations: 47.05 kB / 0.6939 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.6468, allocations: 55.69 kB / 0.694 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.6471, allocations: 281.5 kB / 0.6943 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.6471, allocations: 8 kB / 0.6943 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.6471, allocations: 16.88 kB / 0.6943 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.6475, allocations: 196 kB / 0.6945 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.6475, allocations: 8 kB / 0.6945 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.6475, allocations: 4 kB / 0.6945 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.6475, allocations: 4 kB / 0.6945 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.6478, allocations: 136.5 kB / 0.6946 GB, free: 12.91 MB / 0.5137 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.0007994/0.6486, allocations: 0.7887 MB / 0.6954 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.6488, allocations: 94.59 kB / 0.6955 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.6489, allocations: 12.11 kB / 0.6955 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.6489, allocations: 46.52 kB / 0.6955 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.6489, allocations: 0 / 0.6955 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0005705/0.6495, allocations: 229.2 kB / 0.6957 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.6495, allocations: 55.41 kB / 0.6958 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.6497, allocations: 263 kB / 0.696 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.6498, allocations: 33.7 kB / 0.6961 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.318e-05/0.6498, allocations: 147.9 kB / 0.6962 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.6499, allocations: 35.48 kB / 0.6963 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/0.6499, allocations: 0 / 0.6963 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.65, allocations: 326.8 kB / 0.6966 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.6501, allocations: 55.95 kB / 0.6966 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.6503, allocations: 89.11 kB / 0.6967 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.6504, allocations: 59.91 kB / 0.6968 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6504, allocations: 3.938 kB / 0.6968 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003037/0.6507, allocations: 171.5 kB / 0.6969 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.6508, allocations: 356 kB / 0.6973 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-06/0.6508, allocations: 4 kB / 0.6973 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-06/0.6508, allocations: 0 / 0.6973 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.651, allocations: 31.92 kB / 0.6973 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.651, allocations: 11.94 kB / 0.6973 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.6512, allocations: 19.89 kB / 0.6973 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.6512, allocations: 4.562 kB / 0.6973 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.6512, allocations: 10.03 kB / 0.6973 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002503/0.6515, allocations: 111.9 kB / 0.6975 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.6515, allocations: 0 / 0.6975 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.6515, allocations: 7.984 kB / 0.6975 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.6516, allocations: 27.95 kB / 0.6975 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.6516, allocations: 7.938 kB / 0.6975 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.6518, allocations: 23.92 kB / 0.6975 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.6518, allocations: 4 kB / 0.6975 GB, free: 9.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001252/0.6519, allocations: 217.1 kB / 0.6977 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.652, allocations: 23.72 kB / 0.6977 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.6523, allocations: 175.5 kB / 0.6979 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.6523, allocations: 0 / 0.6979 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.6523, allocations: 4 kB / 0.6979 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6523, allocations: 3.984 kB / 0.6979 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/0.6531, allocations: 0.6101 MB / 0.6985 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6531, allocations: 0 / 0.6985 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.6532, allocations: 23.98 kB / 0.6985 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.6532, allocations: 4 kB / 0.6985 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.6532, allocations: 4 kB / 0.6986 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.6532, allocations: 64 / 0.6986 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6533, allocations: 8 kB / 0.6986 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.6536, allocations: 397.2 kB / 0.6989 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.423e-05/0.6537, allocations: 108.8 kB / 0.699 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.6538, allocations: 11.98 kB / 0.6991 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.654, allocations: 15.98 kB / 0.6991 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.654, allocations: 15.94 kB / 0.6991 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.654, allocations: 11.94 kB / 0.6991 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001577/0.6542, allocations: 194 kB / 0.6993 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6542, allocations: 0 / 0.6993 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003917/0.6546, allocations: 91.84 kB / 0.6994 GB, free: 7.664 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0009247/0.6555, allocations: 1.469 MB / 0.7008 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003896/0.6559, allocations: 176.3 kB / 0.701 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6559, allocations: 0 / 0.701 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.6561, allocations: 72.12 kB / 0.701 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.6567, allocations: 132.1 kB / 0.7012 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.6585, allocations: 1.761 MB / 0.7029 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.6588, allocations: 0.7638 MB / 0.7036 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001963/0.659, allocations: 66.23 kB / 0.7037 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/0.659, allocations: 71.41 kB / 0.7038 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.6591, allocations: 0 / 0.7038 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7441/1.403, allocations: 6.529 MB / 0.7101 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/1.403, allocations: 222.1 kB / 0.7103 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/3.17, allocations: 0 / 0.7103 GB, free: 12.43 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: