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.001111/0.001111, allocations: 104.7 kB / 16.4 MB, free: 6.391 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.001132/0.001132, allocations: 192.8 kB / 17.34 MB, free: 5.699 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7352/0.7352, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 66.92 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1492, allocations: 76.17 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5361/0.6854, allocations: 161.3 MB / 0.7891 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.6874, allocations: 0.95 MB / 0.79 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.6877, allocations: 8.75 kB / 0.79 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000579/0.6884, allocations: 165.2 kB / 0.7902 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.6899, allocations: 0.6383 MB / 0.7908 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.6905, allocations: 217.7 kB / 0.791 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000672/0.6912, allocations: 0.5177 MB / 0.7915 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003505/0.6916, allocations: 176.8 kB / 0.7917 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004607/0.6921, allocations: 238.4 kB / 0.7919 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.6923, allocations: 161.8 kB / 0.7921 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.6923, allocations: 15.31 kB / 0.7921 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.6932, allocations: 0.5427 MB / 0.7926 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.6933, allocations: 81.06 kB / 0.7927 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.6935, allocations: 111.3 kB / 0.7928 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006737/0.6942, allocations: 495.8 kB / 0.7933 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6942, allocations: 0 / 0.7933 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6942, allocations: 0 / 0.7933 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.6942, allocations: 0 / 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.001338/0.6955, allocations: 0.599 MB / 0.7939 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.6956, allocations: 10.06 kB / 0.7939 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.853e-05/0.6957, allocations: 49.36 kB / 0.7939 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.6959, allocations: 49.59 kB / 0.794 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.6963, allocations: 291.1 kB / 0.7943 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.6964, allocations: 15.42 kB / 0.7943 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.6964, allocations: 13.72 kB / 0.7943 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.6969, allocations: 254.5 kB / 0.7945 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.6969, allocations: 0 / 0.7945 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.6969, allocations: 6.375 kB / 0.7945 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.6969, allocations: 9.656 kB / 0.7945 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.6975, allocations: 253.2 kB / 0.7948 GB, free: 11.96 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.001207/0.6987, allocations: 0.833 MB / 0.7956 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.699, allocations: 149.1 kB / 0.7957 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.6992, allocations: 114.5 kB / 0.7958 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.6995, allocations: 189.4 kB / 0.796 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.6995, allocations: 33 kB / 0.7961 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.6996, allocations: 0 / 0.7961 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0008181/0.7004, allocations: 303.8 kB / 0.7963 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.7004, allocations: 51.41 kB / 0.7964 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.7007, allocations: 244.1 kB / 0.7966 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.7007, allocations: 28.58 kB / 0.7967 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/0.7008, allocations: 137.4 kB / 0.7968 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.7009, allocations: 48.62 kB / 0.7968 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.7009, allocations: 41.78 kB / 0.7969 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7011, allocations: 332.9 kB / 0.7972 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.7012, allocations: 68.97 kB / 0.7973 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.7014, allocations: 105.2 kB / 0.7974 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.7018, allocations: 170.5 kB / 0.7975 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7018, allocations: 0 / 0.7975 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000431/0.7022, allocations: 212.3 kB / 0.7977 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.7023, allocations: 10.19 kB / 0.7977 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.7023, allocations: 4.062 kB / 0.7977 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.7023, allocations: 8.516 kB / 0.7977 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.7025, allocations: 31.55 kB / 0.7978 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.7025, allocations: 2.875 kB / 0.7978 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.7027, allocations: 23 kB / 0.7978 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.7027, allocations: 6.406 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.0001253/0.7028, allocations: 145.1 kB / 0.7979 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.7029, allocations: 22.19 kB / 0.798 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.909e-05/0.703, allocations: 34.34 kB / 0.798 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.703, allocations: 3 kB / 0.798 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.703, allocations: 0 / 0.798 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.703, allocations: 2.984 kB / 0.798 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009815/0.704, allocations: 0.6761 MB / 0.7987 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.704, allocations: 4.031 kB / 0.7987 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.7042, allocations: 31.45 kB / 0.7987 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7042, allocations: 2.594 kB / 0.7987 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.7042, allocations: 5.938 kB / 0.7987 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.7042, allocations: 5.938 kB / 0.7987 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7042, allocations: 5.625 kB / 0.7987 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.7047, allocations: 359.4 kB / 0.7991 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.7048, allocations: 113.8 kB / 0.7992 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.7048, allocations: 4.562 kB / 0.7992 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.705, allocations: 10.66 kB / 0.7992 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.7051, allocations: 19.34 kB / 0.7992 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.7051, allocations: 3.656 kB / 0.7992 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001402/0.7052, allocations: 182.5 kB / 0.7994 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7052, allocations: 0 / 0.7994 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003465/0.7056, allocations: 60.27 kB / 0.7994 GB, free: 9.477 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.0009994/0.7066, allocations: 0.9375 MB / 0.8003 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004544/0.7071, allocations: 185.1 kB / 0.8005 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7071, allocations: 0 / 0.8005 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.7073, allocations: 96.14 kB / 0.8006 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.708, allocations: 128.4 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.003085/0.7111, allocations: 2.459 MB / 0.8031 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.7115, allocations: 0.7553 MB / 0.8039 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.7117, allocations: 58.64 kB / 0.8039 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.7118, allocations: 68 kB / 0.804 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of SimCode: time 1.693e-06/0.7119, allocations: 2.406 kB / 0.804 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.7399, allocations: 7.016 MB / 0.8109 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.388, allocations: 7.922 kB / 0.8109 GB, free: 3.18 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)