Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_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.00135/0.00135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001217/0.001217, allocations: 191.7 kB / 16.25 MB, free: 6.637 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.042/1.042, allocations: 143 MB / 433.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.91 kB / 0.5138 GB, free: 11.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.183, allocations: 82.05 MB / 0.5939 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5505/0.7336, allocations: 159.1 MB / 0.7493 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.7357, allocations: 0.9597 MB / 0.7502 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.7359, allocations: 8.75 kB / 0.7502 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.7365, allocations: 141.8 kB / 0.7504 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.7381, allocations: 0.5951 MB / 0.751 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007612/0.7389, allocations: 204.1 kB / 0.7512 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008024/0.7397, allocations: 0.5192 MB / 0.7517 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004095/0.7401, allocations: 172.6 kB / 0.7518 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005096/0.7406, allocations: 247.1 kB / 0.7521 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.7409, allocations: 167.3 kB / 0.7522 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.741, allocations: 17.22 kB / 0.7522 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.7421, allocations: 0.5649 MB / 0.7528 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.7422, allocations: 83.8 kB / 0.7529 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.7424, allocations: 115.4 kB / 0.753 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009524/0.7433, allocations: 0.5336 MB / 0.7535 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7434, allocations: 0 / 0.7535 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7434, allocations: 0 / 0.7535 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.7434, allocations: 0 / 0.7535 GB, free: 10.29 MB / 0.5762 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.001826/0.7452, allocations: 0.596 MB / 0.7541 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.7453, allocations: 12.03 kB / 0.7541 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.001e-05/0.7454, allocations: 47.05 kB / 0.7541 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003315/0.7457, allocations: 55.69 kB / 0.7542 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.7461, allocations: 276.8 kB / 0.7545 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.7462, allocations: 13.55 kB / 0.7545 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.7462, allocations: 16 kB / 0.7545 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/0.7469, allocations: 243.1 kB / 0.7547 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.7469, allocations: 3.984 kB / 0.7547 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.7469, allocations: 8 kB / 0.7547 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.747, allocations: 8 kB / 0.7547 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/0.7478, allocations: 255.8 kB / 0.755 GB, free: 8.684 MB / 0.5762 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.001571/0.7494, allocations: 0.8333 MB / 0.7558 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.7498, allocations: 146.5 kB / 0.7559 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.7501, allocations: 115.4 kB / 0.756 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003401/0.7505, allocations: 190.2 kB / 0.7562 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.7505, allocations: 30.56 kB / 0.7563 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.7506, allocations: 0 / 0.7563 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.001077/0.7516, allocations: 301.2 kB / 0.7565 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.7517, allocations: 59.39 kB / 0.7566 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.752, allocations: 241 kB / 0.7568 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.7521, allocations: 25.7 kB / 0.7569 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.7522, allocations: 140.2 kB / 0.757 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.7522, allocations: 43.34 kB / 0.757 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.411e-05/0.7523, allocations: 41.64 kB / 0.7571 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.7525, allocations: 338.8 kB / 0.7574 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.7528, allocations: 68.56 kB / 0.7575 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.7531, allocations: 103.2 kB / 0.7576 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/0.7536, allocations: 178.4 kB / 0.7577 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7536, allocations: 0 / 0.7577 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006269/0.7542, allocations: 207.5 kB / 0.7579 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.7542, allocations: 7.938 kB / 0.7579 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7543, allocations: 7.938 kB / 0.7579 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.7543, allocations: 1.812 kB / 0.7579 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.7545, allocations: 39.91 kB / 0.758 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.7546, allocations: 4.688 kB / 0.758 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.7548, allocations: 19.83 kB / 0.758 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.7549, allocations: 12 kB / 0.758 GB, free: 5.383 MB / 0.5762 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.0001702/0.755, allocations: 137.8 kB / 0.7581 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.7551, allocations: 31.64 kB / 0.7582 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.7552, allocations: 29.84 kB / 0.7582 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7552, allocations: 0 / 0.7582 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7552, allocations: 4 kB / 0.7582 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.7553, allocations: 8.016 kB / 0.7582 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.7566, allocations: 0.6776 MB / 0.7589 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7566, allocations: 0 / 0.7589 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.7569, allocations: 31.92 kB / 0.7589 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.7569, allocations: 4 kB / 0.7589 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.7569, allocations: 7.188 kB / 0.7589 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.7569, allocations: 3.984 kB / 0.7589 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.7569, allocations: 4 kB / 0.7589 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.7574, allocations: 361.3 kB / 0.7593 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.7575, allocations: 108.9 kB / 0.7594 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.7576, allocations: 4 kB / 0.7594 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.7578, allocations: 15.89 kB / 0.7594 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.7578, allocations: 19.92 kB / 0.7594 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.7578, allocations: 4 kB / 0.7594 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001606/0.758, allocations: 180.5 kB / 0.7596 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.758, allocations: 4 kB / 0.7596 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000344/0.7584, allocations: 52 kB / 0.7596 GB, free: 3.582 MB / 0.5762 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.001001/0.7594, allocations: 0.9438 MB / 0.7606 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.7598, allocations: 187.7 kB / 0.7607 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7598, allocations: 0 / 0.7607 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.76, allocations: 95.81 kB / 0.7608 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7611, allocations: 119.5 kB / 0.761 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.7653, allocations: 2.506 MB / 0.7634 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.7657, allocations: 0.7558 MB / 0.7641 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000351/0.7661, allocations: 65.83 kB / 0.7642 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.7662, allocations: 67.41 kB / 0.7643 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.7662, allocations: 0 / 0.7643 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.7886, allocations: 6.721 MB / 0.7708 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003184/0.789, allocations: 262.7 kB / 0.7711 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.59, allocations: 0 / 0.7711 GB, free: 7.914 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)