Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",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.001146/0.001146, allocations: 104.5 kB / 16.4 MB, free: 6.027 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.001193/0.001193, allocations: 198.1 kB / 17.34 MB, free: 5.605 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6993/0.6993, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 66.23 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1376, allocations: 76.18 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5144/0.652, allocations: 161.3 MB / 0.7891 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.6539, allocations: 0.963 MB / 0.79 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.6541, allocations: 4.125 kB / 0.79 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.6547, allocations: 161.2 kB / 0.7902 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.6561, allocations: 0.6366 MB / 0.7908 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005489/0.6567, allocations: 220.2 kB / 0.791 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005789/0.6573, allocations: 0.5222 MB / 0.7915 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.6576, allocations: 166.5 kB / 0.7917 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.6581, allocations: 237.4 kB / 0.7919 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.6583, allocations: 162.1 kB / 0.7921 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.6583, allocations: 15.56 kB / 0.7921 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008901/0.6592, allocations: 0.5405 MB / 0.7926 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.6593, allocations: 80.98 kB / 0.7927 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.6595, allocations: 114.6 kB / 0.7928 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006816/0.6601, allocations: 494 kB / 0.7933 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6602, allocations: 0 / 0.7933 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6602, allocations: 0 / 0.7933 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.6602, allocations: 4 kB / 0.7933 GB, free: 12.73 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001351/0.6615, allocations: 0.6018 MB / 0.7939 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.6616, allocations: 7.438 kB / 0.7939 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.6616, allocations: 50.89 kB / 0.7939 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.6619, allocations: 45.27 kB / 0.794 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.6623, allocations: 299.2 kB / 0.7943 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.6623, allocations: 13.7 kB / 0.7943 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.6623, allocations: 19.72 kB / 0.7943 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.6628, allocations: 244.9 kB / 0.7945 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6628, allocations: 2.5 kB / 0.7945 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.6628, allocations: 6.812 kB / 0.7945 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.6628, allocations: 9.281 kB / 0.7945 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.6633, allocations: 251.6 kB / 0.7948 GB, free: 11.95 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.001114/0.6645, allocations: 0.8316 MB / 0.7956 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.6647, allocations: 152.5 kB / 0.7957 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.6649, allocations: 113.4 kB / 0.7958 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.6652, allocations: 186.4 kB / 0.796 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.6652, allocations: 36.34 kB / 0.7961 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 2.285e-06/0.6652, allocations: 0 / 0.7961 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0007514/0.666, allocations: 299.2 kB / 0.7963 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.666, allocations: 58.12 kB / 0.7964 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.6662, allocations: 240.5 kB / 0.7966 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.6663, allocations: 35.8 kB / 0.7967 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.6663, allocations: 135.1 kB / 0.7968 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.6664, allocations: 42.36 kB / 0.7968 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.6664, allocations: 37.89 kB / 0.7969 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6666, allocations: 333.6 kB / 0.7972 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.6667, allocations: 64.33 kB / 0.7972 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.6669, allocations: 108.2 kB / 0.7973 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.6672, allocations: 171.7 kB / 0.7975 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6672, allocations: 2.953 kB / 0.7975 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003909/0.6676, allocations: 217.1 kB / 0.7977 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.6676, allocations: 10.91 kB / 0.7977 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6677, allocations: 0 / 0.7977 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.6677, allocations: 2.719 kB / 0.7977 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.6679, allocations: 27.86 kB / 0.7978 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.6679, allocations: 3.703 kB / 0.7978 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.668, allocations: 22.14 kB / 0.7978 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.6681, allocations: 6.875 kB / 0.7978 GB, free: 10.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001108/0.6682, allocations: 152.4 kB / 0.7979 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.6682, allocations: 22.44 kB / 0.798 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.6683, allocations: 30.73 kB / 0.798 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6683, allocations: 5.469 kB / 0.798 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6683, allocations: 0 / 0.798 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6683, allocations: 0 / 0.798 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009134/0.6692, allocations: 0.6739 MB / 0.7987 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6693, allocations: 5.438 kB / 0.7987 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.6694, allocations: 30.94 kB / 0.7987 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6694, allocations: 2.75 kB / 0.7987 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.6695, allocations: 10.31 kB / 0.7987 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6695, allocations: 6.25 kB / 0.7987 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6695, allocations: 2.781 kB / 0.7987 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.6699, allocations: 354 kB / 0.799 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/0.67, allocations: 121.6 kB / 0.7992 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.6701, allocations: 6.031 kB / 0.7992 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.6702, allocations: 7.672 kB / 0.7992 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.6703, allocations: 27.22 kB / 0.7992 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.6703, allocations: 2.719 kB / 0.7992 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001346/0.6704, allocations: 178.1 kB / 0.7994 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6705, allocations: 1.203 kB / 0.7994 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003266/0.6708, allocations: 62.97 kB / 0.7994 GB, free: 9.465 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 (14): * Single equations (assignments): 14 * 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.0008647/0.6717, allocations: 0.9353 MB / 0.8003 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003991/0.6721, allocations: 183.8 kB / 0.8005 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6721, allocations: 0 / 0.8005 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.6723, allocations: 90.59 kB / 0.8006 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/0.6729, allocations: 131.6 kB / 0.8007 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.6756, allocations: 2.454 MB / 0.8031 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.6758, allocations: 0.7585 MB / 0.8039 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.676, allocations: 61.98 kB / 0.8039 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.886e-05/0.6761, allocations: 68.64 kB / 0.804 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/0.6762, allocations: 0 / 0.804 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.6993, allocations: 7.002 MB / 0.8108 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/8.369, allocations: 18.55 kB / 0.8109 GB, free: 3.184 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)