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.001601/0.001601, allocations: 102.8 kB / 16.4 MB, free: 6.477 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.001771/0.001772, allocations: 193.2 kB / 17.34 MB, free: 5.754 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7027/0.7027, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 65.62 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1302, allocations: 76.18 MB / 0.6316 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5029/0.6331, allocations: 161.5 MB / 0.7893 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003085/0.6362, allocations: 1.704 MB / 0.7909 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000552/0.6368, allocations: 15.19 kB / 0.791 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006237/0.6375, allocations: 154 kB / 0.7911 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.639, allocations: 0.5033 MB / 0.7916 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.6404, allocations: 435.4 kB / 0.792 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008921/0.6413, allocations: 0.5717 MB / 0.7926 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.6417, allocations: 174.5 kB / 0.7927 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000727/0.6424, allocations: 320.2 kB / 0.793 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.6427, allocations: 153.5 kB / 0.7932 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.6428, allocations: 16.5 kB / 0.7932 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.644, allocations: 0.6953 MB / 0.7939 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.6441, allocations: 79.92 kB / 0.794 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.6443, allocations: 121 kB / 0.7941 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008689/0.6451, allocations: 499.4 kB / 0.7946 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6452, allocations: 0 / 0.7946 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.424e-06/0.6452, allocations: 0 / 0.7946 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.6452, allocations: 1.094 kB / 0.7946 GB, free: 12.58 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.0009182/0.6461, allocations: 0.5895 MB / 0.7951 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.6462, allocations: 8.312 kB / 0.7951 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.6462, allocations: 44.86 kB / 0.7952 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.6466, allocations: 56.64 kB / 0.7952 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.6471, allocations: 310.5 kB / 0.7955 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.6471, allocations: 8.156 kB / 0.7955 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.6471, allocations: 14.31 kB / 0.7955 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.6475, allocations: 196.8 kB / 0.7957 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.6475, allocations: 2.688 kB / 0.7957 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.6475, allocations: 8.594 kB / 0.7957 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.6475, allocations: 2.656 kB / 0.7958 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.6478, allocations: 133.6 kB / 0.7959 GB, free: 11.73 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.0009881/0.6488, allocations: 0.7821 MB / 0.7966 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.6491, allocations: 82.88 kB / 0.7967 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.6492, allocations: 76.88 kB / 0.7968 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/0.6495, allocations: 187.9 kB / 0.797 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.6495, allocations: 38.06 kB / 0.797 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.6495, allocations: 2.781 kB / 0.797 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006304/0.6502, allocations: 217.7 kB / 0.7972 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.6502, allocations: 56.44 kB / 0.7973 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.6505, allocations: 270.8 kB / 0.7975 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.6505, allocations: 28.45 kB / 0.7976 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.6506, allocations: 141.2 kB / 0.7977 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.6506, allocations: 41.41 kB / 0.7977 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.6507, allocations: 29.41 kB / 0.7978 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6508, allocations: 333.6 kB / 0.7981 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.6509, allocations: 47.5 kB / 0.7981 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.6511, allocations: 95.06 kB / 0.7982 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.6513, allocations: 117 kB / 0.7983 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6513, allocations: 5.203 kB / 0.7983 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003298/0.6517, allocations: 160 kB / 0.7985 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.6517, allocations: 5.281 kB / 0.7985 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6517, allocations: 0 / 0.7985 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.6517, allocations: 8.703 kB / 0.7985 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.6519, allocations: 18.7 kB / 0.7985 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.6519, allocations: 5.031 kB / 0.7985 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.652, allocations: 19.19 kB / 0.7985 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.6521, allocations: 5.344 kB / 0.7985 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001718/0.6523, allocations: 152.1 kB / 0.7987 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001445/0.6524, allocations: 96.11 kB / 0.7988 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002183/0.6526, allocations: 122.9 kB / 0.7989 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.6526, allocations: 0 / 0.7989 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002978/0.6529, allocations: 157.6 kB / 0.799 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/0.653, allocations: 8 kB / 0.7991 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.653, allocations: 1.812 kB / 0.7991 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-06/0.653, allocations: 2.812 kB / 0.7991 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.6531, allocations: 28 kB / 0.7991 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.6531, allocations: 2.812 kB / 0.7991 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.6533, allocations: 20.25 kB / 0.7991 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.6533, allocations: 5.75 kB / 0.7991 GB, free: 9.836 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 8.582e-05/0.6534, allocations: 189.4 kB / 0.7993 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.6534, allocations: 22.92 kB / 0.7993 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.6538, allocations: 167.3 kB / 0.7995 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6538, allocations: 2.844 kB / 0.7995 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.6538, allocations: 0 / 0.7995 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6538, allocations: 0 / 0.7995 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007974/0.6546, allocations: 0.5845 MB / 0.8001 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6546, allocations: 3 kB / 0.8001 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.6547, allocations: 25.38 kB / 0.8001 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.6547, allocations: 3.906 kB / 0.8001 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.6547, allocations: 2.719 kB / 0.8001 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.6548, allocations: 3.188 kB / 0.8001 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.6548, allocations: 6.938 kB / 0.8001 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.6551, allocations: 299.6 kB / 0.8004 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.6552, allocations: 117.1 kB / 0.8005 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.6553, allocations: 3.656 kB / 0.8005 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.6555, allocations: 12.16 kB / 0.8005 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.6555, allocations: 20.53 kB / 0.8005 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.6555, allocations: 13.09 kB / 0.8005 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001571/0.6557, allocations: 195.8 kB / 0.8007 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.042e-06/0.6557, allocations: 0 / 0.8007 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004425/0.6562, allocations: 92.52 kB / 0.8008 GB, free: 8.793 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.0008396/0.657, allocations: 0.8848 MB / 0.8017 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.6574, allocations: 170.5 kB / 0.8018 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6575, allocations: 0 / 0.8018 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.6576, allocations: 58.08 kB / 0.8019 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007166/0.6583, allocations: 127.1 kB / 0.802 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.6611, allocations: 2.343 MB / 0.8043 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.6614, allocations: 0.7552 MB / 0.805 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002077/0.6616, allocations: 71.28 kB / 0.8051 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.58e-05/0.6617, allocations: 75.66 kB / 0.8052 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of SimCode: time 8.61e-07/0.6617, allocations: 0 / 0.8052 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.686, allocations: 6.999 MB / 0.812 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.664/8.35, allocations: 13.75 kB / 0.812 GB, free: 2.41 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)