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.001182/0.001181, allocations: 107 kB / 16.4 MB, free: 6.453 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.001232/0.001232, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6931/0.6931, allocations: 115.3 MB / 406.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.73 kB / 0.5572 GB, free: 32.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1455, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5438/0.6893, allocations: 161.5 MB / 0.7893 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003091/0.6924, allocations: 1.703 MB / 0.7909 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.6928, allocations: 10.64 kB / 0.791 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.6935, allocations: 156.6 kB / 0.7911 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.6949, allocations: 0.5112 MB / 0.7916 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.6962, allocations: 426.9 kB / 0.792 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009112/0.6971, allocations: 0.5662 MB / 0.7926 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.6975, allocations: 178.4 kB / 0.7927 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006706/0.6982, allocations: 325 kB / 0.793 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.6984, allocations: 153.9 kB / 0.7932 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.6984, allocations: 12.38 kB / 0.7932 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.6998, allocations: 0.6921 MB / 0.7939 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.6999, allocations: 84.64 kB / 0.794 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.7, allocations: 117.6 kB / 0.7941 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006975/0.7007, allocations: 0.4908 MB / 0.7945 GB, free: 13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7008, allocations: 3.562 kB / 0.7946 GB, free: 13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.146e-06/0.7008, allocations: 6.812 kB / 0.7946 GB, free: 13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7008, allocations: 1.203 kB / 0.7946 GB, free: 13 MB / 0.5919 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.0007949/0.7016, allocations: 0.5741 MB / 0.7951 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.7016, allocations: 9.969 kB / 0.7951 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.7017, allocations: 53.42 kB / 0.7952 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003189/0.702, allocations: 53.83 kB / 0.7952 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.7024, allocations: 307.5 kB / 0.7955 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.7024, allocations: 11.16 kB / 0.7955 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.7025, allocations: 16.53 kB / 0.7955 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.7028, allocations: 198 kB / 0.7957 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.7029, allocations: 3.938 kB / 0.7957 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.7029, allocations: 9.422 kB / 0.7958 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.7029, allocations: 6.172 kB / 0.7958 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.7032, allocations: 123.9 kB / 0.7959 GB, free: 12.16 MB / 0.5919 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.001022/0.7042, allocations: 0.7801 MB / 0.7966 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.7044, allocations: 83.92 kB / 0.7967 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.7046, allocations: 76.89 kB / 0.7968 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.7049, allocations: 193.5 kB / 0.797 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.7049, allocations: 32.56 kB / 0.797 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.7049, allocations: 0 / 0.797 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006181/0.7055, allocations: 223.3 kB / 0.7972 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.7056, allocations: 53.28 kB / 0.7973 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.7058, allocations: 267.1 kB / 0.7975 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.7059, allocations: 33.09 kB / 0.7976 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.829e-05/0.706, allocations: 136 kB / 0.7977 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.706, allocations: 45.78 kB / 0.7977 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.7061, allocations: 28.97 kB / 0.7978 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7062, allocations: 337.7 kB / 0.7981 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.7063, allocations: 44.12 kB / 0.7981 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.7065, allocations: 94.91 kB / 0.7982 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.7067, allocations: 122 kB / 0.7983 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7067, allocations: 0 / 0.7983 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003088/0.707, allocations: 163.5 kB / 0.7985 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7071, allocations: 6.875 kB / 0.7985 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7071, allocations: 3.719 kB / 0.7985 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.7071, allocations: 14.47 kB / 0.7985 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.7073, allocations: 17.92 kB / 0.7985 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.7073, allocations: 2.531 kB / 0.7985 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.7074, allocations: 12.39 kB / 0.7985 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.7075, allocations: 7.531 kB / 0.7985 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002126/0.7077, allocations: 152.1 kB / 0.7987 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001416/0.7078, allocations: 98.53 kB / 0.7988 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002049/0.708, allocations: 115.3 kB / 0.7989 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.7081, allocations: 0 / 0.7989 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002913/0.7084, allocations: 160.5 kB / 0.799 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.712e-06/0.7084, allocations: 4.938 kB / 0.7991 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.7084, allocations: 2 kB / 0.7991 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-06/0.7084, allocations: 2.969 kB / 0.7991 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.7085, allocations: 23.81 kB / 0.7991 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.7085, allocations: 6.562 kB / 0.7991 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.7087, allocations: 22.7 kB / 0.7991 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.7087, allocations: 5.297 kB / 0.7991 GB, free: 10.26 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.7088, allocations: 189 kB / 0.7993 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.7089, allocations: 24.91 kB / 0.7993 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.7092, allocations: 161.7 kB / 0.7995 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7092, allocations: 0 / 0.7995 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7092, allocations: 2.438 kB / 0.7995 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7092, allocations: 2.156 kB / 0.7995 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008044/0.71, allocations: 0.5867 MB / 0.8 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.7101, allocations: 224 / 0.8 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.7102, allocations: 30.59 kB / 0.8001 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.7102, allocations: 2.938 kB / 0.8001 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.7102, allocations: 6.312 kB / 0.8001 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.7102, allocations: 2.906 kB / 0.8001 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7102, allocations: 6.609 kB / 0.8001 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.7106, allocations: 300.9 kB / 0.8004 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/0.7107, allocations: 119.2 kB / 0.8005 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.7107, allocations: 3.125 kB / 0.8005 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.7109, allocations: 19.36 kB / 0.8005 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.711, allocations: 11.38 kB / 0.8005 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.711, allocations: 4.531 kB / 0.8005 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001599/0.7111, allocations: 199.8 kB / 0.8007 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7111, allocations: 0 / 0.8007 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004535/0.7116, allocations: 90.92 kB / 0.8008 GB, free: 9.215 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008919/0.7125, allocations: 0.8915 MB / 0.8017 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.7129, allocations: 161.8 kB / 0.8018 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7129, allocations: 2.094 kB / 0.8018 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.7131, allocations: 63.73 kB / 0.8019 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.7138, allocations: 132.1 kB / 0.802 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.7168, allocations: 2.342 MB / 0.8043 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.7173, allocations: 0.7601 MB / 0.8051 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002387/0.7175, allocations: 65.69 kB / 0.8051 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.7176, allocations: 68.14 kB / 0.8052 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.7176, allocations: 0 / 0.8052 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.7425, allocations: 6.996 MB / 0.812 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.39, allocations: 9.094 kB / 0.812 GB, free: 2.84 MB / 0.5919 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/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)