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.001106/0.001111, allocations: 107.7 kB / 16.41 MB, free: 6.5 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.001142/0.001142, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.305/1.305, 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.7476/0.7476, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 58.16 kB / 0.5679 GB, free: 29.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1347, allocations: 77.94 MB / 0.644 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4788/0.6136, allocations: 161.3 MB / 0.8016 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.6153, allocations: 0.9675 MB / 0.8025 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.6156, allocations: 8.375 kB / 0.8025 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005319/0.6161, allocations: 159.8 kB / 0.8027 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.6176, allocations: 0.6621 MB / 0.8033 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.6182, allocations: 229.7 kB / 0.8036 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005272/0.6187, allocations: 0.5143 MB / 0.8041 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002937/0.619, allocations: 171.3 kB / 0.8042 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.6194, allocations: 235.3 kB / 0.8044 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.6196, allocations: 160.6 kB / 0.8046 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.6197, allocations: 18.28 kB / 0.8046 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008223/0.6205, allocations: 0.5473 MB / 0.8051 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.6206, allocations: 84.09 kB / 0.8052 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.6207, allocations: 118.2 kB / 0.8053 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006999/0.6215, allocations: 480.7 kB / 0.8058 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.6215, allocations: 0 / 0.8058 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6215, allocations: 2.531 kB / 0.8058 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.6215, allocations: 0 / 0.8058 GB, free: 11.44 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.001392/0.6229, allocations: 0.6146 MB / 0.8064 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.6229, allocations: 10.66 kB / 0.8064 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.289e-05/0.623, allocations: 54.42 kB / 0.8065 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.6233, allocations: 51.59 kB / 0.8065 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.6237, allocations: 293.2 kB / 0.8068 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.6237, allocations: 10.98 kB / 0.8068 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.6238, allocations: 16.97 kB / 0.8068 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.6242, allocations: 240.9 kB / 0.807 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.6242, allocations: 0 / 0.807 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.6243, allocations: 5.75 kB / 0.8071 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.6243, allocations: 21.66 kB / 0.8071 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.6248, allocations: 249.2 kB / 0.8073 GB, free: 10.65 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.001202/0.626, allocations: 0.8319 MB / 0.8081 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.6263, allocations: 146.3 kB / 0.8083 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.6266, allocations: 114.9 kB / 0.8084 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/0.6268, allocations: 189.3 kB / 0.8086 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.6268, allocations: 30.56 kB / 0.8086 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.6269, allocations: 0 / 0.8086 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0007868/0.6276, allocations: 311.6 kB / 0.8089 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.6277, allocations: 51.41 kB / 0.8089 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.6279, allocations: 240.5 kB / 0.8092 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.6279, allocations: 31.86 kB / 0.8092 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.628, allocations: 134.9 kB / 0.8093 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.6281, allocations: 50.45 kB / 0.8094 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.6281, allocations: 34.38 kB / 0.8094 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6282, allocations: 335.3 kB / 0.8097 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.6284, allocations: 67.86 kB / 0.8098 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.6286, allocations: 101.3 kB / 0.8099 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.629, allocations: 178.2 kB / 0.8101 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.629, allocations: 0 / 0.8101 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004357/0.6295, allocations: 209.4 kB / 0.8103 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.6295, allocations: 13.64 kB / 0.8103 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.6295, allocations: 0 / 0.8103 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.6295, allocations: 2.188 kB / 0.8103 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.6297, allocations: 35.92 kB / 0.8103 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.6298, allocations: 0 / 0.8103 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.6299, allocations: 31.14 kB / 0.8103 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.63, allocations: 8.859 kB / 0.8103 GB, free: 9 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.0001303/0.6301, allocations: 139.2 kB / 0.8105 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.6302, allocations: 22.47 kB / 0.8105 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.6302, allocations: 32.11 kB / 0.8105 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6302, allocations: 2.375 kB / 0.8105 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6303, allocations: 4 kB / 0.8105 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.6303, allocations: 0 / 0.8105 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.6313, allocations: 0.6829 MB / 0.8112 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6313, allocations: 2.594 kB / 0.8112 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.6315, allocations: 25.02 kB / 0.8112 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.6315, allocations: 3.156 kB / 0.8112 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.6315, allocations: 13.55 kB / 0.8112 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.6315, allocations: 6.438 kB / 0.8112 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6315, allocations: 2.438 kB / 0.8112 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.632, allocations: 361.1 kB / 0.8116 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.6321, allocations: 112.5 kB / 0.8117 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.6322, allocations: 12.3 kB / 0.8117 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.6324, allocations: 9.344 kB / 0.8117 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.6324, allocations: 22.12 kB / 0.8117 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.6324, allocations: 2.781 kB / 0.8117 GB, free: 8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001508/0.6326, allocations: 180.1 kB / 0.8119 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6326, allocations: 0 / 0.8119 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00037/0.633, allocations: 65.09 kB / 0.812 GB, free: 7.895 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.001029/0.634, allocations: 0.9396 MB / 0.8129 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.6345, allocations: 179.8 kB / 0.8131 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6345, allocations: 4.125 kB / 0.8131 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.6347, allocations: 99.62 kB / 0.8132 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007785/0.6355, allocations: 125.9 kB / 0.8133 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.6385, allocations: 2.472 MB / 0.8157 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.6388, allocations: 0.7474 MB / 0.8164 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.6391, allocations: 61.2 kB / 0.8165 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.6392, allocations: 69.72 kB / 0.8166 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.6392, allocations: 0 / 0.8166 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.6649, allocations: 6.913 MB / 0.8233 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.544, allocations: 25.42 kB / 0.8233 GB, free: 1.078 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)